two question for a beginner

Software questions and issues with the FV-1

Moderator: frank

Post Reply
daneelolivaw
Posts: 2
Joined: Tue Feb 21, 2012 4:15 am
Location: Italy

two question for a beginner

Post by daneelolivaw »

Hi guys,
I have two question:

1st - to use external eeprom I have to set T0=1, correct?

2nd - how to declare were in the extrernal memory find a program? For example il S0,1,2 are 001, at wich location in the memory I have to write? And for S0,1,2=010?

thx in advice.
Best regards
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Re: two question for a beginner

Post by frank »

daneelolivaw wrote:Hi guys,
I have two question:

1st - to use external eeprom I have to set T0=1, correct?
Correct.
daneelolivaw wrote: 2nd - how to declare were in the extrernal memory find a program? For example il S0,1,2 are 001, at wich location in the memory I have to write? And for S0,1,2=010?
Best regards
You don't need to worry about that, just use SpinAsm to create an Intel HEX file you can load into your programmer.

But the technical answer is that the programs start at address 0 of the EEPROM, are all 512 bytes long (unused instructions are filled with a NOP), and are all just loaded in the EEPROM one after another. So program 0 starts at address 0, program 1 starts at address 512, etc.
Frank Thomson
Experimental Noize
daneelolivaw
Posts: 2
Joined: Tue Feb 21, 2012 4:15 am
Location: Italy

Post by daneelolivaw »

ok, understood.

so in this window:

Image

I can choose the programs for S1,2,3 combination, and automatically the software generates an .hex file for the external eeprom.

Thanks for tecnical info about organization memory.

Bye
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

Correct, select up to 8 programs, make sure the "Intel Hex" check box is checked and it will write the file when you click "Build".
Frank Thomson
Experimental Noize
Post Reply