Questions tagged [mplab-5.45]

13 questions
2
votes
1 answer

Difference between "checkout revision" and "checkout files" in Git

I am using Mplab X IDE ver 5.45 user graphical interface for for versioning in Git. When I want to checkout a particular commit the menu gives the option "Checkout revision" or "Checkout files". Could someone please explain which is the difference?…
Guille
  • 326
  • 2
  • 10
2
votes
1 answer

From MPLAB 8.92 to MPLAB X 5.25: how do I programmatically halt the simulator now?

I wrote some test code in PIC assembly language that I have no intention to run on the actual PIC MCU, rather it is meant to generate the trace files so that they can be analyzed later with a separate tool. So, I needed a way to permanently halt the…
Regus Pregus
  • 560
  • 3
  • 12
1
vote
0 answers

Jump to PIC32MZ FreeRTOS application using bootloader

I have made a custom board with a PIC32MZ2048EMF100 and a LAN8720, ATWINC1500 .... I wrote a program that works very well on this board and uses FreeRTOS (because of ATWINC1500), now I'm trying to do OTA using bootloader (I need the swapping between…
Mohamed
  • 11
  • 2
1
vote
1 answer

Program and Run PIC18 with pickit4 on linux

I am on linux ubuntu and target is a PIC18F47J53. I basically want to program the chip and then let it run, using command lines and using pickit4. using ipecmd (from mplab x ide v5.45), this is my…
1
vote
1 answer

How to build AWS Freertos with MPLAB for PIC32MZ1025W104

It seem to be missing the processor ports file, referenced in ports_p32xxxx.h. ../../../../../vendors/microchip/harmony/v2.05/framework/peripheral/ports/processor/ports_p32xxxx.h:779:6: error: #error Unknown processor! #error Unknown…
CaptainMJ
  • 167
  • 9
1
vote
1 answer

XC16 MCU family macros

To detect a single MCU with XC16 we can use the defines such as __dsPIC33EP128MC202__, but what are the defines for a family such as dsPIC33E? When googeling I find references to __PIC24F__ etc, but none of them are defined within XC16. I can't find…
Max Kielland
  • 5,627
  • 9
  • 60
  • 95
0
votes
1 answer

MPLAB IDE Packs & XC8 Toolchains compatibility

An "old" project compiled fine on an "old" computer (OS Windows 8) using MPLAB IDE with Pack 1.0.9 and toolchain v1.42. The identical project does not on my newer PC (OS Win 10) with (newer) Pack 1.2.26 and tool chain v2.31. I installed the tool…
Guille
  • 326
  • 2
  • 10
0
votes
0 answers

scanf unworks when I use it twice or more

I'm new in C and mplab x and I have a hw need to do in this IDE. my printf works not as it should be so I want to knwo why and how can I change it. setting: mplab x IDE version:5.45 mplab xc32 compiler:4.00 pickit3 Uno32:PIC32MX320F128H Windows…
jackey
  • 11
  • 1
0
votes
2 answers

MPLAB X IDE v5.45 Problem with Low Voltage Programming

The program builds fine, but when I tried to flash code from snap debugger to PIC16F15313 in MPLAB its giving this error. Even though low voltage programming is enabled in code. "MPLAB has detected that the low voltage configuration bit on the…
Nancy
  • 1
  • 2
0
votes
1 answer

Change link colors in output window of MPLAB X IDE v5.45

I'm using MPLAB X IDE v5.45 under Ubuntu and due to my color setup the links in the output window are almost unreadable: I went through Tools > Options > Font & Colors but I didn't find anything useful. Please, would you help me to understand how…
Mark
  • 4,338
  • 7
  • 58
  • 120
-1
votes
1 answer

converting int into float dsPIC33

I am trying to convert int16_t to float code is int16_t ADC_value; float voltage = (float)ADC_value/1000.0f; printf("%f\r\n",voltage); result when the voltage exceeds 2.0V floating point values become (-)values. but before it converts to floating…
-1
votes
1 answer

without while(1) why this code in MPLAB is running continuously

In this code I have not used while(1), only when it enters 'if' condition it calls TIMER_ISR function which has been initialised for every 250ms. But when it enters else condition there is no any timer function or anything but then also why it is…
Nancy
  • 1
  • 2
-2
votes
1 answer

String functions and extern variables are not working properly in MPLAB X IDE for PIC Microcontroller Program

If I create new project and I call this string predefined function or extern variables all works fine. But when I continuously modified or did some operation with those string function or variables then those functions are not working properly and…
Nancy
  • 1
  • 2