Programming EEPROM/Memory Map Question
Posted: Thu Apr 20, 2017 5:54 pm
I'm having an issue that I'm hoping others have run into and might be able to help.
When writing a program, I tell the assembler (Kowalksi Simulator) to start the code at $8000, which is the start of my EEPROM on my machine.
I can save the assembled code as an intel hex file, but when I go to import in into the program to flash my eeprom, it says "Out of address range for the device." Which I get, because technically my EEPROM only has $0000-$7FFF, which just gets mirrored by my address decoding into $8000-FFFF
Anyways, the point is, if I tell the assembler to start at $0000, it will load into my flashing software, but then the addresses of subroutines get messed up.
Is there any way I can compensate for this? Say, my assembly code starts at address $8000, but the hex file will tell the flashing software to input the machine code at $0000 on my EEPROM chip? Does this make sense? Sorry for the long winded questions!
Otherwise I've just had to assemble the code, look at the memory in the simulator and copy it by hand into my EEPROM programming software starting at $0
When writing a program, I tell the assembler (Kowalksi Simulator) to start the code at $8000, which is the start of my EEPROM on my machine.
I can save the assembled code as an intel hex file, but when I go to import in into the program to flash my eeprom, it says "Out of address range for the device." Which I get, because technically my EEPROM only has $0000-$7FFF, which just gets mirrored by my address decoding into $8000-FFFF
Anyways, the point is, if I tell the assembler to start at $0000, it will load into my flashing software, but then the addresses of subroutines get messed up.
Is there any way I can compensate for this? Say, my assembly code starts at address $8000, but the hex file will tell the flashing software to input the machine code at $0000 on my EEPROM chip? Does this make sense? Sorry for the long winded questions!
Otherwise I've just had to assemble the code, look at the memory in the simulator and copy it by hand into my EEPROM programming software starting at $0