Quantcast
Channel: PIC24 Topics
Browsing all 3494 articles
Browse latest View live
↧

PIC24FJ64GA704 - how to set BSLIM (downybear)

Hi all,I have written bootloader with cipher and hash, so software is quite big.Because of flash erase size (0x800 bytes), first available address for IRQ jump table is 0x2000 and 0x2200 for main...

View Article


I2c Read Issue with PIC24f16km204 (biswajit)

Hi I am using PIC24F16KM204 Controller with XC16 Tool Chain.I am using default clock frequency of 4MHZ.I am trying to read temperature over I2C.Please verify my configuration as well as read Procedure....

View Article


UART Transmit on different Pin doesnt work (TK50)

I wanted to use different Pins for UART 1.I used the Pins RB15 for Receive and RB14 for Transmit. This is working. uint8_t UART_Init(void){ /* Set RB10 as digital Input for UART RxD */...

View Article

Using flash memory as non-volatile memory (ianharvey)

Hi, I am using the PIC24FJ128GC006 in an application. I would like to use one page of the flash memory (512 words, 1536 bytes) as a non volatile memory area to store setup, configuration and...

View Article

EZBL Application code's UART issue (karthiks)

Hi I am using EZBL UART Bootloader for my PIC24fj128ga704 controller. I am using UART2 for bootloading. My application code gets successfully updated via EZBL bootloader and it prints the debug...

View Article


Random Number Generator Without Using ADC? (olochua)

Hey guys, I am using a PIC24FJ1024GA610. I was wondering if there is a way for the microcontroller to generate a random number without using ADC? I know that I can use the C rand() function, but it...

View Article

Is DMA supposed to work in Doze mode? (RDS Cliff)

Chip is a PIC24FJ1024GB610 on an Explorer 16/32 board. I'm moving a long block of data to a UART with DMA. The CPU has nothing to do while waiting for an interrupt to signal an event. I'm trying to...

View Article

I2C PIC24F Master to PIC24F Slave (klockwood)

I am trying to communicate between two PIC24FJ256GB410 micros over I2C with one as master and one as slave, but I am not seeing any clock pulse coming out of the master, in fact the clock is just...

View Article


PIC24EP512GP806 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 Article


Why is CLKDIV register free to write? (Maldus)

I've recently started a project on a PIC24FJ256GA705. I wanted to use the internal oscillator without PLL, so the OSCFDIV source. Now, I know that if I ever wanted to change the clock source at runtime...

View Article

Choosing PIC24 (Bucky Amateur PIC Assembly Programmer)

Have a choice of these 11: What do the 3 digits on the end mean please? I see the differences between 4 8 16 32 and 64 k memory. Also the number of pins difference. Should I just use the most...

View Article

Sleep until timer fires, having difficulty achieving (justinmreina)

I am trying to sleep the main thread with a timer running in the background, which periodically resumes the main thread. See below for example pseudo-code: Pesudo-code int main(void) { systemInit();...

View Article

Use of MCC & __builtin_write_OSCCONL() (justinmreina)

I was inspecting the results of OSCCON modification using MCC and observed unexpected results - Summary 1. Attempts to modify the oscillator configuration generate unexpected, non-working results. 2....

View Article


bootloader for PIC24FJ128GC010 (aliaskappa)

Good morning,in my device I mounted a PIC24FJ128GC010 and a flash memory withwhich I communicate via SPI.My target would be to load a bootloader at startup that loadsthe firmware previously written...

View Article

Input Capture for "slow" frequency (Maldus)

I'm working on an application with a PIC24EP512GU810. In particular, I need to measure the period/frequency of a rotating basket with a pulse every time a full circle (or a fraction of it) is...

View Article


EZBL Store data in bootloader section? (Jack0Parks)

Whenever I upload new software using the EZBL bootloader, my permanent flash storage gets erased as well. I see something about "EZBL_SetNoEraseRange" but not sure how to implement it. This function...

View Article

PIC 24 Dual Image Bootloader (SinCitiesSin)

Hello, I am looking at building a bootloader which does a ping pong between two running images. If image one is running, we do a firmware upgrade to image two, then run image two. This way we always...

View Article


PIC24 Bootloader + App data conflict (SinCitiesSin)

I have read just about every post on this particular issue. I am getting the error: I have read just about every post on this particular issue. I am getting the error:(944) data conflict at address 0h...

View Article

Writing to Reserved Flash, storing a unique ID (justinmreina)

We are building a device which needs a unique identifier stored to NVM, e.g. a name or ID stored to FLASH. We cannot establish how to successfully do this, reaching out for help! FeatureReserved FLASH...

View Article

24FJ64GA002 & RTC (MitYeltu)

OK, I know this has been discussed many times, and I have looked through many of the thread and found many examples, but every example I have tried has not worked for me. I've been banging on this for...

View Article
Browsing all 3494 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>