Shop OBEX P1 Docs P2 Docs Learn Events
EEPROM read not working right - FIXED — Parallax Forums

EEPROM read not working right - FIXED

tpw_mantpw_man Posts: 276
edited 2008-05-26 16:53 in Propeller 1
I have made a loader for the HYDRA that loads programs from the upper 96K of it's EEPROM much like Propdos does with an SD card. The problem I am having is that the upper 64K of memory seems to be wrapping around to the bottom 64K. I am using HAM to load the programs into the upper slots. Slots 3 and 4 load programs in slots 1 and 2, which makes me think the addressing is wrong. I am using NS_EEPROM_drv_011 with the EEPROM parts put into my code with the lines that read settings from HUB ram commented out. I also added some ASM to make a little interface and handle the SPIN launching.
Please help.

[noparse][[/noparse]EDIT]
It appears that NS_EEPROM_drv_010 has a bug. I only copied the code from 011, but it was a constant that was the problem, because I was previously using the 010. IRC helped me smile.gif

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I am 1011, so be surprised!


Advertisement sponsored by dfletch:
Come and join us on the Propeller IRC channel for fast and easy help!
Channel: #propeller
Server: irc.freenode.net or freenode.net
If you don't want to bother installing an IRC client, use Mibbit. www.mibbit.com
tongue.gif

Post Edited (tpw_man) : 5/26/2008 5:55:43 PM GMT
Sign In or Register to comment.