@houtson - Thanks very much, I'll take a look.
@joepasquariello - Yes I'm using EEPROM emulation. I made the change and it's got this far:
Code:
SDClass::setMediaDetectPin(27)SD card is connected
target = fw_teensyMM (16384K flash in 4K sectors)
created buffer = 15640K FLASH (6007A000 - 60FC0000)
++++ Firmware update ++++
reading hex lines...
hex file: 27916 lines 446464 bytes (60000000 - 6006D000)
abort - new code missing string fw_teensyMM
erase FLASH buffer / free RAM buffer...
Where is this string expected to be in the new firmware?
Also, can user input be bypassed? I want it to just happen at boot-up:
Code:
// get user input to write to flash or abort
int user_lines = -1;
while (user_lines != hex.lines && user_lines != 0) {
out->printf( "enter %d to flash or 0 to abort\n", hex.lines );
read_ascii_line( out, line, sizeof(line) );
sscanf( line, "%d", &user_lines );
}