SPC560B54 FlexCAN bootloader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-09 7:27 AM
Hi,
Actually now I'm working on the FlexCAN boot operation and I have few queries to be addressed to start over.
- I have this rudimentary question for an embedded engineer, sorry for it. how do I know the code length/size of my software?
- while pushing code on SRAM via FlexCAN boot, what should be the register value for PCONFx registers?
- In the 3rd step of FlexCAN boot sequence, how do I push my software to the SRAM? Please help me with the files or process or the sequence in which the code has to be pushed serially in CAN ID 0x013
Thanks for your time in advance.
Best Regards,
Prashanth Mohan
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-14 5:08 AM
Hello ,
You can find in the Reference Manual or in the SPC5Studio Tools suite
Best regards
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-10 2:32 AM
My idea here is to flash SPC board directly via CANH, CANL pins.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-14 2:01 AM
Hello ,
1) It should be the size of out.bin
You can use this command to check the size of each functions
ppc-freevle-eabi-nm.exe -S -C --size-sort out.elf
400aa030 00000242 T vector52
400b0bb0 000002e2 T FlashCheckStatus
400ae050 000002f6 T can_lld_transmit
400af9c0 0000048c T spc_clock_init
400aed40 000005ee T updater_getData
400acb60 0000071c t can_lld_l1_handler
400ac3a0 000007b4 t can_lld_l0_handler
400ad360 00000c38 T can_lld_start
Which device do you use ?
3) to push your software in SRAM , you have to update the linker file.
For your information , we have some bootloader example by CAN in SPC5Studio Tools suite
SPC58ECxx_RLA Bootloader Application for Discovery
Best regards
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-14 2:23 AM
Hi Erwan,
Very thanks for your response, I'm using SPC560B-DIS board. Do we have Bootloader Application for Discovery for SPC560Bxx??
Regards,
Prashanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-14 3:03 AM
Hi @Erwan YVIN​,
where can I find the elf analysis tool? say ppc-freevle-eabi-nm.exe that you have mentioned in your response
Thanks
Prashanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-14 3:51 AM
Hi @Erwan YVIN​ ,
Do we have any application note, or flow chart for SPC560B series on bootloader implementation to better understand the generated code?
Thanks
Prashanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-14 4:27 AM
Hello ,
You can find the useful in the following directory :
c:\SPC5Studio\eclipse\plugins\com.st.tools.spc5.tools.gnu.gcc.ppcvle.win32_4.9.4.xxxxx\toolchain\bin\
Best regards
Erwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-05-14 5:08 AM
Hello ,
You can find in the Reference Manual or in the SPC5Studio Tools suite
Best regards
Erwan
