Reserving Program Memory at a fixed address - strange results (communithings)
Hello Everyone, I wanted to experiment with reserving some bytes in the program memory of my firmware, at a fixed location, in order to easily add information in my .hex files after compilation. I was...
View ArticlePIC24F EDS XC16 Address Pointers (paulw7)
I'm using PIC24 with XC16 compiler and trying to assign an EDS pointer with an address. I can't get the correct address to go into the pointer, see code below with the result shown in the comment next...
View ArticleUSB HID_Write (P Lameijn)
For an application using the PIC24FJ256GB108 I want to add USB HID support.That works, but the HID_Write function (MikroC/MikroBasic compiler) are blocking until success.If the PC side program isn't...
View ArticleEZBL and PIC24FJ256GU410 and PIC24FJ256GL410 (joubert)
Hi, I try to port EZBL bootloader 2.11 version on new PIC24 GU and GLWhen I build the project I have this error: Exception in thread "main" java.lang.NullPointerException at...
View ArticlePIC24EP512GP806 DMA ECAN FIFO fails to set the C1RXFUL1 or C1RXFUL2 bit (hlukeh)
I have been using the PIC24EP512GP806 in a CAN application for years. Last week I noticed that it was sometimes not receiving a standard CAN message that was being broadcasted once per second when the...
View ArticlePIC24F bootloader (ketanVadodariya)
Dear Support, I am doing bootloader application for the PIC24FJ128GB310 micro-controller. well i don't have any idea how do i start the application. i have a some question going on the mind for the...
View ArticleDoubt how to use PIC24FJ128GA204 (DM 240004)(PIC 24F curiosity development...
Please, can anyone help me? I'm not able to program the PIC 24F curiosity development board. I can't even activate outputs like flashing the leds. I believe that the problem is in the configuration...
View ArticlePIC24FJ ADC result for Band Gap input reading (boatbodger)
I am using a PIC24FJ64GU203When reading the Band Gap value by the ADC as part of a scan, it is not clear where the result will be deposited.For all the other AN inputs, there is a dedicated results...
View ArticlePIC24FJ64GU203 BSET and CLEAR instructions not working on SFR for ADC -...
When debugging the ADC on the above PIC (with pickit4, and also by console logging), I'm finding that the registers are not being set properly.If I try to set the MSB of ADCON1 using the following line...
View ArticleUsing MCC for EEPROM emulation (Berait00)
Hi,I want to use the DEE library offered by microchip to emulate EEPROM on PIC24 devices. I am using a PIC24FJ256GA705 with MPLAB x v5.5. The description and the lib itself can be found here:...
View ArticleHCSR04 PIC 10T (aesystem)
Does anyone have hcsr04 lib for the PIC24FJ128GA705 PIC iot board.I was trying to use the MCC timer 3 to do the basic code for the hcsr04.I got the hcsr04 to work with pic18f25k42 MCC.i am asking for...
View ArticleChange notification interrupt problem (peterg1000)
I'm using externally powered PIC24F16KA102 hardware to develop an assembler application, and am unable to trigger a CN interrupt even though all the correct bits show as correct in MPLAB-X 5.4 using...
View ArticlePIC24 I2C Bootloader (FloFal)
Hello Community, I am in the process to plan a new project where I need a microcontroller being updated via I2C.Taking a look on the required features besides that, a PIC24 would do the job. If you...
View ArticleSecondary oscillator amplitude. (peterg1000)
I'm using the secondary oscillator at 32.768KHz to drive T1 on a 24FJ64GA202. It would appear that the oscillator is working and starts up in about 200mS to reach a final amplitude of 220mV p - p....
View ArticlePIC24F16KA101 ADC buffer reading (Kinimod)
Hello, I have an issue with sending ADC values to my UART so that I could read actual integers on my screen (instead of question marks). I've programmed and tested my UART and ADC code and I know the...
View ArticleIgnoring Brown out - BOR reset (Mike Mc)
I have a board that is built on a PIC24EP512GU810 which will generate Brown-Out resets sometime (BOR bit is set) when different peripherals are exercised. Is this safe to ignore? I'm asking because my...
View ArticlePIC24FJ64GA202 FWDTEN=ON ==> "Target Halted" (uln)
Because we can't get any PIC24FJ32GA002-E/SO on the market we bought PIC24FJ64GA202-E/SO chips to cover our annual requirement for one of our products. Toi use them, I have to port old source code (C30...
View ArticlePIC24 Boot sector BSLIM and AIVT Interrupt Vector Table [Partially solved]...
I am trying to get the MLA (2018) version usb bootloader updated to work with the PIC24FJ64GU202This has a number of differences from the projects in the latest MLA (which I think was 2018). I find...
View ArticlePIC24FJ128GU406: Some port pins don't support UARTx Tx assignment (DLChambers)
(Not limited to the GU406, but that's what I'm using) For example, PortE0-4, Port F0-1, and many others do NOT support UARTx Tx.I found this out when trying to assign them in MCC. Does anyone know...
View ArticleUnderstanding MCC for SD Card writing (Dididito)
Hi everybody!I've just come back to PIC programming after some years away. I am trying to program PIC24FJ256GB106 to write into a uSD card connect to SPI bus.I had an old working code but with these...
View Article