EEVblog Electronics Community Forum

Products => Computers => Embedded Computing => Topic started by: PerranOak on October 06, 2021, 01:45:22 pm

Title: Blank upload from PIC16F15376 Curiosity Nano
Post by: PerranOak on October 06, 2021, 01:45:22 pm
I have tried to upload the memory from the nano board and get only zeros for all SFRs; config bits upload ok. So does the prog memory, I think - it's all in hex!
 
Any ideas why this would be?
 
Thanks.


[using Win8.1Pro (32bit), MPLAB X IDE v5.25]
Title: Re: Blank upload from PIC16F15376 Curiosity Nano
Post by: JPortici on October 06, 2021, 04:52:27 pm
mm.. what do you want to do exactly? I don't think you can read the ram content from the device, as you can read the program memory once it's programmed
Title: Re: Blank upload from PIC16F15376 Curiosity Nano
Post by: PerranOak on October 08, 2021, 04:52:56 pm
I just wanted to see if TRIS, ANSEL and so on were as I'd expected.

I thought I could just read them back into MPLAB from the running MCU but apparently you need to be in debug mode.
Title: Re: Blank upload from PIC16F15376 Curiosity Nano
Post by: JPortici on October 09, 2021, 03:38:14 pm
Yup, or you can dump the content over UART or something like that