2005-04-15 06:52 AM
2005-04-13 06:37 AM
hi - i'm developing an st10 programmer and am trying to enter BSL mode. i can get the st10 to echo the ACK byte (0xD5) but the 32-bytes of code I upload does not seem to work. I'm actually uploading just 10 bytes to have the st10 write to the RX buffer.
is there something more i need to do to have it run the bootcode?2005-04-14 03:10 PM
thanks! that did the trick...
now once it's loaded and running does my 32-byte boot loader have access to IRAM and XRAM?2005-04-14 09:03 PM
Hello,
In Bootstrap mode, the XPERCON is configured to 0x042D which means that: XRAM1, XRAM2, CAN1, XMISC and XFLash are enabled. So yes you have access to all the DPRAM and XRAMs. Take care that: - your 32 bytes or in the range 0xFA40-0xFA5F - the register bank starts at 0xFA00 - the Stack pointer is at 0xFA40 to not corrupt those locations. Normally your 32 bytes will load more code, your complete code maybe. I suggest to put it in the 2kBytes of XRAM1 that is common to all the ST10F27x derivatives. Regards, Kenshin2005-04-15 06:52 AM
thanks! that's what i thought, but it appears that when i try and write to the XRAM i get a cpu exception. i'll double check my bsl code!