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

AN1157 serial boot-loader for PIC24F - C/C++ PC sources ? (Dave Nadler)

The PC component driving the AN1157 serial boot-loader is coded largely in VB6 (an old version of visual basic, de-supported by MS over 5 years ago). Anybody have a version where all the HEX processing...

View Article


BacNet Bootloader (SinCitiesSin)

Hello, This does not seem to be a hot topic. I was wondering if anyone had any resources regarding bootloading a microcontroller through BacNet. The device would be programmed with a bootloader and an...

View Article


Error handling practice (Denge)

Hi All, First I'll have to try to get through the "access denied" message..

View Article

PIC24F: Deep Sleep : DSWDT and Internal Oscillator (dimitris_c)

Hello all,I'm using the PIC24FJ128GA202 @ 3.3V with XC16 and internal oscillator (FRC @ 8Mhz) I am trying to enter deep sleep and exit using the DSWDT but without success. In the code below I am using...

View Article

Can't entering Deep Sleep PIC24FV16KA302 (aleks11)

Hello! I'm using PIC24FV16KA302. I set DSCONbits.DSEN = 1; Sleep(); Then read the RCON register and DPSLP bit is not set...always set the SLEEP bit. Why? How can I be sure that the entered in deep...

View Article


PIC24 endian as Intel or Motorola? (BobAGI)

I am porting C code for an older board that has been redesigned by replacing a Motorola MC68HC11 MCU with a PIC24FJ256GB206. The board communicates through serial comm with another board that has still...

View Article

PIC24 project using MPLAB-X + C30, how much flash does sprintf occupy? (BobAGI)

I would like to know how I can find out what amount of flash space sprintf() usage will cost.How can I find this?I know that earlier (like 4-5 years ago) when I looked at certain library functions I...

View Article

xc16 cant find ultoa, stdlib.h is included (BioSniper)

The compiler found itoa in , but not ultoa. #define FCY 16000000UL#include #include #include #include #include #include #include

View Article


Programming upper bits with XC16? (TexasTony)

This is the first time I've upgraded from the 8 bit processors. I'm using a PIC24FJ64GA702 with XC16 v1.30. The problem is that I can't seem to get the code to set the higher bits. For example port B8....

View Article


SPI and Chip Select problem (him_3754)

Hello everyone!!I am also interfacing an ADC AD667 with PIC 24FV16KM202 microcontroller. I'm using SPI protocol. I've given conversion clock at CLK pin of my ADC through SCK pin of microcontroller...

View Article

Lost bits in SPI communication with MRF24J40MA (miruga27)

Hello everyone!I've been developing an application for transmission of images with the MRF24J40MA transceiver and the set up of the of the device is not working properly. I've detected that I always...

View Article

UART byte skip (matzlat)

Hello Everybody,I try to transmit the condition of 24 buttons (switches) from one microcontroller to another one. I transmit 5 bytes (words) in 9 bit mode. The first word is 0x1FF. 1 in the 9th bit...

View Article

UART drops characters if I rely on UTXBF flag (vsimkus)

Hello Having a weird issue. UART code that works perfectly on a dsPIC30F4011 doesn't want to work on a PIC24FV16KA301. On the PIC24 the UART starts to drop characters after the first four. If I send...

View Article


Writing flash of a PIC24 to SDcard? (BobAGI)

Is it possible to write the PIC24 flash memory to a file on an SDcard?I do have a FatFs SDcard system operational on my board and what I would like to do is write a binary copy of the flash out to a...

View Article

PIC24 - problems moving off the Explorer 16 board (unused pins and such)...

Hello All, So I have been working with a PIC24FJ128GA010 and recently attempted to move from the explorer 16 board to a circuit using only the pins I needed. Yes, I literally removed a PIC24 from an...

View Article


Bootloader for PIC24EP? (abhiarora4)

I am working on pic24EP256GP204 bootloader. My bootloader has it's own packet format to communicate with a python script to update the firmware of the microcontroller. The bootloader resides at the...

View Article

overwriting in 25lc1024 (Maurya)

Hi, I am trying to read and write data from 25lc1024. If I write 'A' at 0x00010 location.Do we need to erase the data before writing new data at same memory location or we can just overwrite the new...

View Article


Usable RAM in PIC24FJ256GB206? (BobAGI)

The PIC24 I use has a large 96 Kbytes SRAM according to the data sheet.When programming with C30, how much of this is available for actual data?I am looking to implement a transient data recording...

View Article

PIC24FJ256GB406 Deep Sleep _INT0 and RTCC (olver62)

Hi All,i'm optimising the consumption of my board, and i'm facing to this issue:I tested many ways to go in deep sleep mode but i can only go in Idle and Sleep mode. The board is running whith a 20Mhz...

View Article

Special event trigger seems doesn't work (Serafino Convertini)

Hi to all,I'm trying to synchronize an ADC conversion with the PWM period. This should be fine for me to measure the current flowing in the DC motor driven by the PWM peripheral.I configured the PWM...

View Article
Browsing all 3494 articles
Browse latest View live


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