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?
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, Kenshin