Aug 25, 2021
12:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 25, 2021
12:33 PM
Unfortunately, I have changed the RAMIN section (in PROCONRAM) from 0 (Init Ram after any POR) into 3 (Don't init RAM after POR).
Now, I can connect my device to the MemTool but can not program/erase it.
When pressing on "Enable" button for the PFLASH, it says "Can't activate FLASH/OTP Device !" and the log says "Initializing FLASH driver on target failed".
I tried to reprogram it through ADS, it halts a little bit then says that 0x70100000 (PSPR0) is not initialized.
I have also tried also the option of "Init PSPR0/DSPR0 on connect" in MemTool when connecting and it failed also.
Is there any way around so that I can reprogram the UCBs and return the RAMIN into 0 so that PSPR0 and other ram can be auto initialized after POR ?
Moreover, if anyone knows how can we form commands in the "Execute OnConnect Commands" in MemTool so that we can initialize PSPR0/DSPR0 ourselves with those commands ?
Thanks in advance.
Now, I can connect my device to the MemTool but can not program/erase it.
When pressing on "Enable" button for the PFLASH, it says "Can't activate FLASH/OTP Device !" and the log says "Initializing FLASH driver on target failed".
I tried to reprogram it through ADS, it halts a little bit then says that 0x70100000 (PSPR0) is not initialized.
I have also tried also the option of "Init PSPR0/DSPR0 on connect" in MemTool when connecting and it failed also.
Is there any way around so that I can reprogram the UCBs and return the RAMIN into 0 so that PSPR0 and other ram can be auto initialized after POR ?
Moreover, if anyone knows how can we form commands in the "Execute OnConnect Commands" in MemTool so that we can initialize PSPR0/DSPR0 ourselves with those commands ?
Thanks in advance.
Solved! Go to Solution.
Labels
- Labels:
-
Technical Center
1 Solution
May 24, 2022
10:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 24, 2022
10:30 AM
Hi,
Not sure the question is still of interest, but as I ran into the same kind of problem, it may help others.
In the current version of MemTool (v2021.08), there is an option in Target->Setup->Connect->Init PSPR0/DSPR0 on connect
Ticking this option allowed me to connect to the µC properly and correct the configuration of the PROCONRAM register.
2 Replies
Aug 28, 2021
03:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 28, 2021
03:17 AM
AhmedGamal wrote:
Unfortunately, I have changed the RAMIN section (in PROCONRAM) from 0 (Init Ram after any POR) into 3 (Don't init RAM after POR).
Now, I can connect my device to the MemTool but can not program/erase it.
When pressing on "Enable" button for the PFLASH, it says "Can't activate FLASH/OTP Device !" and the log says "Initializing FLASH driver on target failed".
I tried to reprogram it through ADS, it halts a little bit then says that 0x70100000 (PSPR0) is not initialized.
I have also tried also the option of "Init PSPR0/DSPR0 on connect" in MemTool when connecting and it failed also.
Is there any way around so that I can reprogram the UCBs and return the RAMIN into 0 so that PSPR0 and other ram can be auto initialized after POR ?
Moreover, if anyone knows how can we form commands in the "Execute OnConnect Commands" in MemTool so that we can initialize PSPR0/DSPR0 ourselves with those commands ?
Thanks in advance.
Problem is solved using UDE communication device instead of DAS with using 2pin DAP. Using this with the option of "Init PSPR0/DSPR0 on connect" from the MemTool embedded in the UDE has initialized the memory and had the chance to bring RAMIN back to zero.
May 24, 2022
10:30 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 24, 2022
10:30 AM
Hi,
Not sure the question is still of interest, but as I ran into the same kind of problem, it may help others.
In the current version of MemTool (v2021.08), there is an option in Target->Setup->Connect->Init PSPR0/DSPR0 on connect
Ticking this option allowed me to connect to the µC properly and correct the configuration of the PROCONRAM register.