PDA

View Full Version : Flash


Grant_g
12-04-02, 02:15 PM
We're having some difficulty using the user flash memory for program storage.

The Alberta site describes FWORD which puts the last defined word into flash and I assume fixes up the word directory. That's what we need.

I'm guessing we can write it ourselves -- look up the pointer, move the data, update the directory -- if necessary.

Is it necessary?

Help!

nmitech
12-04-02, 02:38 PM
Grant_g,

Which microcontroller do you have?
Is It HC12? MCore? DSP? etc...

Grant_g
12-04-02, 04:46 PM
It's an Isopod.

nmitech
12-04-02, 05:41 PM
<a href="http://www.newmicros.com/store/product_manual/IM_flash.pdf">IsoMax flash appnote</A>


<a href="http://www.newmicros.com/isopod/appnotes/chaseled.pdf"> Example program</A>


<a href="http://www.newmicros.com/store/product_details/download.html">more on download page</a>

Grant_g
12-05-02, 12:44 PM
Thanks for the help.

Okay, we typed in the program example on saving autostart in Flash.

It ran to no effect. It's a V1 board so the REDLED command wouldn't work without tweaking which we didn't consider until after the fact.

Now, when we boot, the unit is unresponsive - no reaction to keyboard input. And because the leds don't behave we can't tell if the MAIN program is running or not.

Is there a way to get the state machine's attention?

nmitech
12-05-02, 01:17 PM
This <a href="http://www.newmicros.com/isopod/appnotes/chaseled.txt">Example</A> is running on IsoMax V0.3. You should be able to COPY example text file from the isopod download page and PASTE (download) to the Terminal program. Program will auto run on the next power up or reset.

Example program should run on both IsoPod V1 or V2. No change or mod requires.

Remove power for a minute, If you still be able to get the IsoMax prompt then just enter SCRUB to erase the application program. If Not, There is no other option on V0.3 but send it back to NMI to reload the IsoMax. You can email nmiproduction@newmicros.com to get an RMA # for reload the IsoMax.

Also can you email me nmitech@newmicros.com a copy of your typed in program. I want to see what caused the processor locked up.