pennynsa.blogg.se

Top2048 programmer software
Top2048 programmer software












Top2048 programmer software

This can be done using the freely available Freescale Tool SRECCVT:Ī detailed description of this tool is contained in the SRECCVT Reference Guide (PDF). To avoid this problem, it is necessary to align all S-Record data before programming. As a consequence, a write error ("not erased") will be issued. The byte, that was missing in the first attempt, CardS12 28 would require a second write access to the same (word) address - which is not allowed.

Top2048 programmer software

The problem occurs, if the byte stream continues with the following S-Record line. TwinPEEKs will append an $FF byte in this case, so it is able to perform the word write. If the last address of such an S-Record is even, the 2nd byte to form a complete word is missing. TwinPEEKs is aware of this, but the following problem can not be avoided by the monitor: The monitor is processing each S-Record line seperately. To form such aligned words, two subsequent bytes have to be combined. Programming is done by writing words (two bytes at a time) to aligned addresses. However, for write accesses, some rules have to be followed: Flash and EEPROM have to be erased before any write attempt. The CPU can read every single byte of the microcontroller's resources - the type of memory does not matter. What steps do I need to take to progam to Flash memory? Keep in mind that I am using the MC9s12DP512. The valid address range for the MC9S12D64 starts at 0xF0000 (0x3C * 16KB) and ends at 0xFFFFF (0x40 * 16 KB - 1). S2-Records use linear adresses according to Freescale guidelines.

Top2048 programmer software

S8- and S9-Records are recognized as end-of-file mark. S0-Records (comment lines) will be skipped. Data records of type S1 (16-bit MCU addresses) and S2 (linear 24-bit addresses) can be processed. Here is all the information I have from the manual. Nevertheless everytime I try The monitor says "invalid s Record". I am a bit confused about memory paging and the physical addresses of each page. I am trying to create a s record that can be dowloaded into the internal flash. I have been able to successfully download s records directly to ram. It has a monitor called TwinPEEK's that has been preinstalled in the Microcontroller. I am using a CardS12 from Elektronik Laden.














Top2048 programmer software