Configuration bits not sent to programmer

Beta Testing discussion on mikroC AI for PIC32.
Post Reply
Author
Message
Dominic75
Posts: 87
Joined: 05 Oct 2012 23:37
Location: Quebec, Canada

Configuration bits not sent to programmer

#1 Post by Dominic75 » 13 Mar 2021 15:49

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 80 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 76 times
So this is either a bug or something I;m not understanding...

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

Dominic

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Configuration bits not sent to programmer

#2 Post by filip » 16 Mar 2021 15:23

Hi,

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

Regards,
Filip.

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Configuration bits not sent to programmer

#3 Post by filip » 18 Mar 2021 09:40

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.
Attachments
PIC32MX170F256D.rar
(2.45 KiB) Downloaded 79 times

Dominic75
Posts: 87
Joined: 05 Oct 2012 23:37
Location: Quebec, Canada

Re: Configuration bits not sent to programmer

#4 Post by Dominic75 » 21 Mar 2021 00:54

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

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: Configuration bits not sent to programmer

#5 Post by filip » 24 Mar 2021 09:56

Hi,

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

Regards,
Filip.

Post Reply

Return to “mikroC AI for PIC32 Beta Testing”