I am using the bootloader GUI provided with AN3748 application note for MCF
This bootloader only program up to 32 Kbyte and my application is greater than 32k.
the bootloader says done while there is more records in the S19 file.
any suggestions!
Solved! Go to Solution.
We managed to solve it the bootloader GUI 1.1 that works with 64 bit computers has an overflow issue. the original reviosn that works GUI 1.0 that works with XP does not have this issue and it works fine.
If you type "AN3748" into the Search Field at upper right you'll get 17 matches.
This one, dated Apr 12, 2010 10:27 PM complains that the bootloader only sends 32k:
Re: USB Bootloader on MCF51JM128 Upgrade Problem
There was no response to that post.
You might like to check this one to see if it is of any use - it is a new version of a bootloader, based on that App Note from 2012:
But read through the App Note. There's a lot of information on customising it for different CPUs, and you may have it set to the wrong one.
Do you know if the 32k restriction in in the PC end or the enbedded end?
Tom
I know there is several matches however except the one you mentioned which is not answered none is related to the problem I am facing.
Since this issue is related to the GUI not the embedded code so changing to PEupd will not help.
Thanks for your reply.
That screenshot you posted says:
- Erasing 1fc00 to 1FFFF
- Programming 7FEC
That has erased from 127k to 128k. So it is smart enough to have erased the entire FLASH, assuming it started from zero (or above any internal loader). It knows how big it is.
From the Reference Manual, the MCF51JM128 FLASH address range is from 0x00000000 to 0x0001FFFF, which matches that.
I'd suggest reading the S7 file. It is ASCII with addresses in the first column. Make sure it is compiled with the right address range to fit in the FLASH. Make sure you don't have a restricted compiler that will only generate 32k.
The other option is to make your code more efficient and smaller. I always find I have to do that eventually!
Tom
Hello,
Yes, i have checked the file it has the right addresses beyond 7FEC. Also erasing goes to the end of the Microcontroller, it does not read the file as you can Erase the microcontroller without a file been selected.
We managed to solve it the bootloader GUI 1.1 that works with 64 bit computers has an overflow issue. the original reviosn that works GUI 1.0 that works with XP does not have this issue and it works fine.