Hello, MB Team:
We are developing our new project using Pic32MZ2048. The MCU is dead after we use "ROSEL0_REFO2CON_bit = 1". Could you let us know what is wrong?
MCU Pic32MZ2048EFM100
OP Windows 7
MB pic32 4.00
mikroProg 2.60
Best regards,
Chip is dead after ROSEL0_REFO2CON_bit = 1
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: Chip is dead after ROSEL0_REFO2CON_bit = 1
Hi,
The ROSEL<3:0> bits should not be written while the ACTIVE bit is ‘1’, as undefined behavior may result.
Have you checked the ACTIVE bit before you wrote to the ROSEL<3:0> bits?
What do you mean by the MCU is dead? Are you able to erase/program its memory?
Kind regards,
The ROSEL<3:0> bits should not be written while the ACTIVE bit is ‘1’, as undefined behavior may result.
Have you checked the ACTIVE bit before you wrote to the ROSEL<3:0> bits?
What do you mean by the MCU is dead? Are you able to erase/program its memory?
Kind regards,
Stefan Filipović
Re: Chip is dead after ROSEL0_REFO2CON_bit = 1
Hi, stefan,
Thank you for you fast reply.
Yes, we did it when Active bit = 1. Now the chip can't erase/program its memory.
Could you help us to active it? Thank you!
Thank you for you fast reply.
Yes, we did it when Active bit = 1. Now the chip can't erase/program its memory.
Could you help us to active it? Thank you!
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: Chip is dead after ROSEL0_REFO2CON_bit = 1
Hi,
I suggest you contact Microchip's Technical support. Hopefully, they have some workaround to this issue.
Kind regards,
I suggest you contact Microchip's Technical support. Hopefully, they have some workaround to this issue.
Kind regards,
Stefan Filipović
Re: Chip is dead after ROSEL0_REFO2CON_bit = 1
Stefan:
Thank you. I will contact microchip.
Thank you. I will contact microchip.