FreeCalypso > hg > freecalypso-reveng
comparison fluid-mnf/fluid.c @ 362:b4fb0c7dfdf4
fluid-mnf: added -oC option to use cmd39.m0 for Calypso C05
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 14 Mar 2020 19:44:44 +0000 |
parents | e77d478e3724 |
children |
comparison
equal
deleted
inserted
replaced
361:5d1c186cc3cf | 362:b4fb0c7dfdf4 |
---|---|
61 char arg_hexfile_type = 'm'; | 61 char arg_hexfile_type = 'm'; |
62 char arg_hexfile_memwidth = 2; | 62 char arg_hexfile_memwidth = 2; |
63 | 63 |
64 int arg_target_reset = 1; | 64 int arg_target_reset = 1; |
65 int arg_rom_bootloader = 0; | 65 int arg_rom_bootloader = 0; |
66 int arg_calypso_c05 = 0; | |
66 int arg_boot_delay_rom = 15; | 67 int arg_boot_delay_rom = 15; |
67 int arg_boot_delay_fluid = 15; | 68 int arg_boot_delay_fluid = 15; |
68 int arg_device_id0 = -1; | 69 int arg_device_id0 = -1; |
69 int arg_device_id1 = -1; | 70 int arg_device_id1 = -1; |
70 | 71 |
446 " Write bytes to image. The bytes b0..bN are replicated\n" | 447 " Write bytes to image. The bytes b0..bN are replicated\n" |
447 " through the whole memory range [addr0..addr1[\n" | 448 " through the whole memory range [addr0..addr1[\n" |
448 " -o <char> Extra options:\n" | 449 " -o <char> Extra options:\n" |
449 " o = Only bootstrap using ROM boot loader (Calypso devices only)\n" | 450 " o = Only bootstrap using ROM boot loader (Calypso devices only)\n" |
450 " O = Do NOT use ROM boot loader\n" | 451 " O = Do NOT use ROM boot loader\n" |
452 " C = use cmd39.m0 for Calypso C05\n" | |
451 " e = Skip erase (Require empty flash)\n" | 453 " e = Skip erase (Require empty flash)\n" |
452 " r = Reset target after download (default)\n" | 454 " r = Reset target after download (default)\n" |
453 " R = Do NOT reset target after download\n" | 455 " R = Do NOT reset target after download\n" |
454 " l = Activate (old-fashioned) UART level conversion\n" | 456 " l = Activate (old-fashioned) UART level conversion\n" |
455 " m = Select Motorola hexfile output format (default)\n" | 457 " m = Select Motorola hexfile output format (default)\n" |
586 case 'e': arg_skip_erase = 1; break; | 588 case 'e': arg_skip_erase = 1; break; |
587 case 'R': arg_target_reset = 0; break; | 589 case 'R': arg_target_reset = 0; break; |
588 case 'r': arg_target_reset = 2; break; | 590 case 'r': arg_target_reset = 2; break; |
589 case 'o': arg_rom_bootloader = 1; break; | 591 case 'o': arg_rom_bootloader = 1; break; |
590 case 'O': arg_rom_bootloader = -1; break; | 592 case 'O': arg_rom_bootloader = -1; break; |
593 case 'C': arg_calypso_c05 = 1; break; | |
591 case 'l': arg_uart_level_convert = 1; break; | 594 case 'l': arg_uart_level_convert = 1; break; |
592 case 'b': | 595 case 'b': |
593 case 'm': arg_hexfile_type = *optarg; break; | 596 case 'm': arg_hexfile_type = *optarg; break; |
594 case 'i': | 597 case 'i': |
595 optarg++; | 598 optarg++; |