| | Re: How do I delete firmware from firmware? Steven J. Morris
| | | (...) Looking at forth code it looks like "HEX 3ae EXECUTE" might end up doing what we are talking about. I tried this with out getting what I expected. I will fiddle more but does the approach seems right? M_CODE(7,``"EXECUTE"...TE,_FLINK) MOV.W (...) (25 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
| | | | | | | | RE: How do I delete firmware from firmware? Ralph Hempel
| | | | | (...) Here's a copy of what Kekoa replied with... This sounds correct. In C, this is how I do it: /* Delete the firmware */ *(char *)0xffcc = 1; (*(void (**)(void))0)(); Indeed, *(void (**)(void))0) is the reset vector, whose value is 0x03ae. 0xffcc (...) (25 years ago, 23-May-00, to lugnet.robotics.rcx.pbforth)
| | | | | | |