Solved it! writing to flash w/o an issue.
I thought the dp changed based on when you were in ram or rom but I do not have a baseline yet of expected behavior. compiletoram ok. dictionarystart hex. 000000C4 ok. compiletoflash ok. dictionarystart hex. 000000C4 ok.
I understand a /bit/ more, but just a bit. I think some of my debugging was stomping on things. I have what I think is a better approach but am missing something fundamental. Is my dp not pointing to the first address of rom (0x6000)? As far as I understand linking to prev words is correct, 0x6014 is written to address section when I create the second word. BEFORE: x/32xh 0x6000 -16 0x5ff0: 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0x6000: 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff 0xffff...
Iām attempting to port to an n32 chip whose flash requires 32 bit writes. I added some debug statements to flash4bytesblockwrite.s to try and figure out why it is not being added to the dict / why getting unpaired 16-bit flash writes. It seems like it starts to function, pairing addresses correctly then falls off on the last two. With 0x7374 and 0x7366 being left on the table. Here is a test of ā : t 42 ; ā at address 0x7360 BEFORE: x/64xb 0x7360 - 8 0x7358: 0x04 0x3f 0x3e 0x60 0x2a 0x26 0x00 0xbd...
sorry for the late reply. I have had some more free time and now have the system up and running! however I have an issue w/ getting compiletoflash working. The micro only allows for 32bit writes to flash so I'm using emulated16bitflashwrites. The writes seem to be somewhat written to flash but no link in the dict, further it erros w/ unpaired writes. I hope this code snippit highlights the issue. I placed sammeltabellemalen before the call to flashkomma and after the call to flushflash. Address:...
sorry for the late reply. I have had some more free time and now have the system up and running! however I have an issue w/ getting compiletoflash working. The micro only allows for 32bit writes to flash so I'm using emulated16bitflashwrites. The writes seem to be somewhat written to flash but no link in the dict, further it erros w/ unpaired writes. I hope this code snippit highlights the issue. I placed sammeltabellemalen before the call to flashkomma and after the call to flushflash. Address:...
sorry for the late reply. I have had some more free time and now have the system up and running! however I have an issue w/ getting compiletoflash working. The micro only allows for 32bit writes to flash so I'm using emulated16bitflashwrites. The writes seem to be somewhat written to flash but no link in the dict, further it erros w/ unpaired writes. I hope this code snippit highlights the issue. I placed sammeltabellemalen before the call to flashkomma and after the call to flushflash. Address:...
sorry for the late reply. I have had some more free time and now have the system up and running! however I have an issue w/ getting compiletoflash working. The micro only allows for 32bit writes to flash so I'm using emulated16bitflashwrites. The writes seem to be somewhat written to flash but no link in the dict, further it erros w/ unpaired writes. I hope this code snippit highlights the issue. I placed sammeltabellemalen before the call to flashkomma and after the call to flushflash. Address:...