I have searched an2295
https://community.freescale.com/docs/DOC-95039
But I only find the IAR and KEIL projects inside, had not found the cw,
Can provide a project of the cw?
Or tell me how to create the bootload projects?
I use the development board is TWR - K60D100M
The cw version is 10.4
Sorry to write a letter to trouble u, coz i didn't see u reply to me. i understand the code is encrypted, but can u explain that why this problem happened? i mean that the memory programme is not success. thank u
Looks like you are using the legacy Freescale compiler (not the new GNU ARM gcc one).
This compiler only offers to generate an S19 file in the linker options.
I recommend that you either use GNU ARM gcc compiler in CodeWarrior, or have a look at these forum posts:
CW 10.2 / K70 How to create S19 or other file for Flash burn
Hello:
You can find the latest firmware package with the CodeWarrior projects if you run a search for "AN2295SW" in Freescale WebPage.
In any case I leave you here a link to download it:
Hope this helps!
Jorge Gonzalez
For the <bootloader_asm.s> file is bootloader jump to application function for KEIL compiler, please remove this file for CodeWarrior project compile.
And after that, customer need clear the project, please select menu "Project -> Clean..." to clear this project.
Then, customer need modify the link file address, which using the absolute address for that file, customer can modify it with below path:
${ProjDirPath}\CW_Linker_cfg\AN2295_LinkerFile.lcf
The below picture for more detailed info, after that, there with no compile issue about this project.
Wish it helps.
When I debug, also found a problem:
When I click on the Connect, there will be a timeout,just like
Using a serial port debug tool, found that it is to get the data
But in the code, it is also read in the data
so,What is the problem?
About how to generate S19 file, you can refer below picture for CW project:
Step 1:
Step 2:
Step 3:
I also recommend to refer below link about application link config file:
I have writed a application with a serial bootloader support for TWR-K60D100M
Wish it helps.
I am not sure current AN2259 software supports TWR-K60D100M(Kinetis 100MHz silicon 2.x) board or not. As I know, previous AN2259 software only supports TWR-K60N512(Kinetis 100MHz silicon 1.x) board.
I will check it and let you know later.
Thank you for the patience.