We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Using an MCB2370 eval board, trying to flash (via IAP) a new version of our application. I have things configured where I can connet a PC to the board (using USB as virtual com port) open a file, download via Hyperterm to the board where the file contents are then programmed into flash memory correctly. Up to this point using small text files for transferring/testing, now would like to transfer actual application (binary file). How do I create this file? I checked the option to create a hex file. Can i use a utility like Hex2bin to create a bin file, then load this via IAP calls? I did actually try this, hex2bin reaports the hex file has an ilegal record type. On inspection the first record type is 5, documentation states legal records are 0-4.
Thanks, I just found that utility this mornign and it seems to work. Just thought of another issue however, I am not copying over my previous application when I peform this update, I am creating a second copy in higher flash memory; the goal is that the original app will detect it's presence, then jump to that copy. Can I just load this binary as is starting at a flash memory location I choose? I know I have to remap the int vector table, but will I have any other adressing issues to deal with?