AnsweredAssumed Answered

SREC file bad address

Question asked by Barry Purtymun on Apr 11, 2018
Latest reply on Apr 11, 2018 by Mark Butcher

Support,

 

I am working on a bootloader program for a Kinetis K60 chip.  I am using KDS.  I set my code (interrupts and data) to start at address 0x8000 so that my bootloader can reside in 0x0 - 0x7fff.  When I generate my application code, the first line is at address 0x400, then the rest of the lines are at 0x8000 +.  Is this line necessary to be programmed by the bootloader?  That block of addresses (less than 0x8000, is protected in my bootloader program to keep parts of my bootloader from being overwritten by the application.  Here are the first 3 lines of my SREC file.

 

S0150000537072696E675F5465737465722E73726563C6
S214000400FFFFFFFFFFFFFFFFFEFFFFFF7EFFFFFF79
S21400800000000020C500010099130100B51301000F

Outcomes