Other Parts Discussed in Thread: UNIFLASH
Champs,
Any ideas/pointers where to look to debug osal_snv writes, and reads actually, though since I can't get the write to pass I wouldn't expect the read to work just yet, actually working? So the project is kind of old, it's actually on a CC1353P2 SDK version 3.40.02; I was adding the osal SNV to the dmm_wsnnode with OAD so that I could serialize multiple boards over Bluetooth.
I checked, and in main.c, I call osal_snv_init(), and it returns SUCCESS so I was feeling good. But, later in the code (a differnt task, but I don't think it matters) I try to write or read 12 bytes of data I am storing. On a write, I get an error code of 0x01 (FAILURE), on the read I get an error code of 0x02 (INVALID_PARAMETER). At least fo the read I could see that if it can't find that entry becauseit never wrote, that might make sense... so how do I get the write to work?
So here's the kicker, it's not the code; its the state of the board/chip. So I have 4 boards, all with the same code. THe two older boards i had from liek a year ago when I wrote this work fine; I can read/write osal....but I just got two new ones in yesterday and tried to FLASH them; and everything runs great EXCEPT for this osal_snv thing (I'm hoping that's a clue to you). I can provide the project if you need it. Where do I start looking?