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
two question for a beginner
Moderator: frank
-
- Posts: 2
- Joined: Tue Feb 21, 2012 4:15 am
- Location: Italy
Re: two question for a beginner
Correct.daneelolivaw wrote:Hi guys,
I have two question:
1st - to use external eeprom I have to set T0=1, correct?
You don't need to worry about that, just use SpinAsm to create an Intel HEX file you can load into your programmer.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
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
Experimental Noize
-
- Posts: 2
- Joined: Tue Feb 21, 2012 4:15 am
- Location: Italy
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
Experimental Noize