Re: Programming issue with ICD3 and dspic30F5011
2020/11/05 14:38:22
(permalink)
Gentlemen,
Again thank you for looking at my question, and excuse my tardiness in response to your request. I had been put on a higher temperature fire for the last day and a half. I believe I have fixed my issue, maybe someone can educate me specifically as to what the real reason is. As I stated, I was getting the error that looked as if I was not writing to the chip. I performed a read of the chip and saw that the first location did read all F's as stated. Then I looked further down in the code and found op-codes at different addresses. So that looked like some things were programming. So I started looking at the configuration bits. I found one section that I had not defined each possible option. I had done this because I thought that the IC came with all those locations defaulted to 0xFFFF. Once I set my config section __FBS to include WR_PROTECT_BOOT_OFF, I was able to get a complete program and verify. I guess it was a function of that dang old "never assume" thing. Stay Safe