This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Bootloader Questions - (CAN)

Hello - maybe this should be directed to QJ -

When using the bootloader code on both the host and processor - if a large bootfile is downloaded - of course more space is needed to download the file from the host system and that is allocated on the host side.

For the processor side; for a larger file - let's just say 160K - the download will run - but somewhere along the way a message gets printed that the part is programmed but the bootloader is still downloading data and isn't finished.  It looks like all of the counters; sizeof's and all of that is OK - but there looks like there is a bug here.  I will try to catch this but wanted to mention what I am seeing.

Has anyone encountered this problem?

I have been able to download the 'blinky' application OK - but it is rather small - only about a 4KB binary file.  It would be nice to see the linker command file for that. I assume the biggest issue is to make sure the starting address in FLASH for the downloaded program is 0x20000 and also not to assign any RAM from what the bootloader needs.  I have done that but since the program isn't ever loaded I am not really getting to that point.  

I am wondering if there could be a sync problem between when the bootloader code is/was released and the F021 API.  I haven't looked closely enough yet to see if there are issues like going past a 64K boundary or anything like that - but I will look.

Regards,
johnw