Page 1 of 1

Configuration bits not sent to programmer

Posted: 13 Mar 2021 15:49
by Dominic75
Hi,

Project settings:

Toolchain: mikroC AI for PIC32 BETA
SDK: mikroC PRO for PIC32 Libraries
MCU: PIC32MX170F256D
Prog: Mikroprog for PIC options
Board: generic PIC32 board.

Necto Studio 1.5.1
mikroC AI for PIC32 BETA: 1.1.0

When using the Programmer -> Program MCU menu, the config bits are not sent to mikroProg.

Please see video in attachment
MikroProg.zip
(882.7 KiB) Downloaded 85 times
(And yes, I have clicked on the Apply button on the MCU Settings window)

Workaround is to build then load .hex directly in mikroProg. But loading the .hex in mikroProg resets all configuration bits, so I need to re set to the value I want every time. So it's not really a viable workaround.
Loadhex.zip
(732.6 KiB) Downloaded 80 times
So this is either a bug or something I;m not understanding...

Once again, back to the old MikroC Pro for PIC32 :(

Dominic

Re: Configuration bits not sent to programmer

Posted: 16 Mar 2021 15:23
by filip
Hi,

Thank you for the report, we will analyze this thoroughly.

Regards,
Filip.

Re: Configuration bits not sent to programmer

Posted: 18 Mar 2021 09:40
by filip
Hi,

Please find the fixed configuration file for PIC32MX170F256D in the attachment, place it in the \NectoStudio\compilers\PIC32\mikroC\Defs\ folder instead of the existing one and the issue should be solved now.

Regards,
Filip.

Re: Configuration bits not sent to programmer

Posted: 21 Mar 2021 00:54
by Dominic75
Hi Filip,
Thanks for the file, fixed the programming issue. Really appreciated!

Found some other issues - will do repro steps and start a new thread.

Thanks!
Dominic

Re: Configuration bits not sent to programmer

Posted: 24 Mar 2021 09:56
by filip
Hi,

I'm glad this worked, please start a new thread regarding the new issue.

Regards,
Filip.