Hi all,Currently I am working with a controllerless TFT display and designed a PCB with a PIC32MZ1024EFM100 to drive the TFT screen (NewHaven). On the PCB, the programming signals PGC, PGD and MCLR are connected as advised by the datasheet. PGC and PGD ar..
↧
PIC32MZ1024EFM100 ICD4 programming issue (Reini)
↧
I need a 2-byte pointer; right now I get 3-byte pointers only [KIND OF SOLVED] (danw)
Writing code using MPLAB v5.05, XC8 v2.00, for 18F47K42 (8k RAM).
I have the following macro to declare integer types that cannot be assigned to each other:
#define \
decl_sint_type( tname, UN, minval, maxval ) \
typedef union \
{ \
decl_sint_type( tname, UN, minval, maxval ) \
typedef union \
{ \
↧
↧
PIC10F200 (dejan991)
I work with PIC10F200 and PICKIT3, but when I have a connection and I want to try the connection, the first one will write the warning (Picture1) and then the error (Picture 2). Target has invalid calibration data. What could be wrong? I've tried many of ..
↧
PICKIT4 does not freeze peripherals (GERSEI)
Hello all,I'm using a PICKIT4 to debug an application running on a PIC18F47K40. Although I checked the "freeze peripherals" on halt option, the timers keep running when I pause or reach a breakpoint. Then I cannot use the step by step (step over F8) debug..
↧
RN4678 Losing it Name on iOS. (NKurzman)
I have an intermittent issue with some RN4678 Modules. They loose their Name ("SN" Parameter).On an iOS deviceThe RN4678 and iOS device are LBONDED (BLE w/Security) occasionally iOS will loose the Name I gave it and show the default one. ie RN4678-1234. I..
↧
↧
How to use C Macros on Assembly Code? (rolandoaguilera90)
Hello everyone, Is there any way to use C define statements into an assembly file on XC16? I was reading some answers to change the .s file to .S file, but still unable to compile... Thanks, Rolando..
↧
dsPIC33 DMA SPI problem (MateuszPaczynski)
Dear All, I tried to implement a simple program to learn how to use a DMA feature. I planned to send data to DMA, and I hoped that DMA will automatically send data to the SPI buffer. Firstly, I have checked an SPI functionality. It was sending data to the..
↧
USART Data Transfer Models (neptunis2016)
Dear All, As I can check there are three diferente ways to transfer data:a) Using Byte-by-Byte Model - This is used to transfer one byte at a time;b) Using File I/O Type Read/Write Transfer Model - The application calls the USART driver read/write routine..
↧
MPLAB Harmony Configuration Settings for UART Higher Baud rates - PIC32MX470512L (dvvrcognizant)
I am trying to operate the UART with higher baud rates. The PIC32 Micro controller used is PIC32MC470F512L. I use MPLAB Harmony. The UART is configured in loop back mode. I wrote a program to send and receive data. The program works well up to baud rate o..
↧
↧
linker error while debugging in MPLABX IDE (ninaad)
Currently I am using PIC32MX470F512H.I don't have any issues in building project.But while debugging the project , i am getting error saying "cannot open linker script file".I have attached my screenshot with post.please help me.TIA..
↧
Issues using Unified Bootloader Host with MCC generated bootloader (FabianL)
Hello, I'm using pic16f18326 with mcc generated bootloader (new reset vector at 0x300 - all working well) and I'm somewhat struggling with the existing Unified Bootloader Host Application (0.1.3). At some points I found that the commands sent from the Uni..
↧
Need help compiling PIC18F2550 source code (ignotus)
Hi all, I'm new here and to the task of compiling code in general. I've burned hex files to MCUs but up until now that has been the extent of my technical prowess in the field... So please be gentle on me as I showcase my ignorance. I have a MIDI controll..
↧
Bitfields: To Use Or Not To Use. That is the question. (acharnley)
I like the idea of bitfields, it looks efficient and encapsulated. I ran a small test to see what improvement would yield...
volatile static struct {
uint8_t futureLED: 3;
uint8_t activeLED: 3;
} flags;
↧
↧
Automatically incrementing a build or software version into my compiled code (swmcl)
Hi all,What is the best way to get the build number or some other software versioning into the code for a PIC ? ( Assuming a very late version of MPLAB X ). At the moment I would manually be updating a global variable but I forget to do it now and then. I..
↧
Problem with USART Error Interrupt All The Time (twelve12pm)
I'm having a problem that appears to be the USART error interrupt happening non-stop, not allowing the rest of the program to execute. I'm using Harmony 2.01b on PIC32MZ2048EFG144. I'm using USART driver, DYNAMIC implementation, interrupt mode, byte model..
↧
USB4715 with OTG devices (tmatsuzawa)
Hello.
I am looking into USB4715 datasheet and AN2341 "USB4715 FlexConnect Opoeration" document.According to the document, USB4715's upstream port (flex0) can be connected to an OTG device, and another OTG device to one of the downstream port.
Then I ca..
↧
MHC use in MPLAB Harmony (MikeinAZ)
Several recent posts have indicated there is some confusion on the MPLAB Harmony Configurator (MHC) version to be used, or which version you may be on. This will hopefully add some clarity. MHC needs to align to your current version of MPLAB Harmony. It m..
↧
↧
PIC32MK dynamic allocation -> malloc issue (hugo.g)
Hi everyone ! I face to an issue when i use malloc in my code, i try to use __pic32_alloc_coherent (sizeof(mystruct)) but the issue still here !The simple code: char * ptr;
ptr = (ptr*) malloc(sizeof(ptr)); Does'nt run correctly, debug crash at mall..
ptr = (ptr*) malloc(sizeof(ptr)); Does'nt run correctly, debug crash at mall..
↧
PIC32MZ EF and Harmony 3: When will this be out (not "Beta Release")? (RodoPIC)
Hi all, Any news on when Harmony 3 will support PIC32MZ EF in non-Beta Release mode? Thanks..
↧
How to make a library for XC8/XC32 in a single source code and single header, doubts... (seccoxiru)
Hi.
I'm trying to start a library for XC8, but it will be for XC32 also. A definition of 'PIC_8_BITS' or 'PIC_32_BITS' will be included in main.h of each MPALB X project to differentiate among them.In my current 'library' I have functions like set/write ..
↧