I2C pins on PIC24/dsPIC33 EPxxxMU/GU devices (Eventhorizon.m)
Hi AllI can't find the first I2C peripheral pins (SCL1/SDA1) on the following devices:PIC24EP256GU810/814PIC24EP512GU810/814dsPIC33EP256MU810/814dsPIC33EP512MU810/814 It seems that it has been replaced...
View ArticledsPIC33EP256MU806 - PWM on Pin PWM2L (PE2) (arigead)
Going mad here looking over datasheets and not finding the solution to my problem. Basically I'm trying to enable PWM on pin PE2. I've set it the pin as a digital output, and configure it as below with...
View ArticleFATFS no response 0xFF (newmelon)
Hey all, I am using the Code Example pic18-pic24 FATFS from Elm chan. Looks pretty nice, I implemented my SPI Routines and hey, It does not work.I don't get a response from the SD Card, always...
View ArticlePIC24 External Oscillator (SinCitiesSin)
Hello Everyone. I am using an 8MHz external oscillator to run my device. So far I have the device running. However when using USB communications I notice that there is a lag. I do not think all of my...
View ArticleDEE Emulation with PIC24E crashes (snarfer)
Hi All, I am porting an application from PIC24H to PIC24E, and find that the DEE Emulation tool causes the MCU to hang. The application worked fine with the PIC24H and I am now using the most recent...
View ArticlePIC24E program doesn't return from called function. (amem00)
Hi Everyone,I'm migrating a firmware from a PIC24FJ256GB210 to a PIC24EP512GU810.The program contain uses I2C, SPI and USB protocoles to communicate with surounded components.I use the USB in two...
View ArticlePIC24 UART character translation UTF-8 or anyother does not macht! (DanielM)
Hello everyone,I have an issue with the UART! After verifying that both devices to communicate are configured properly (Bps, data bits, parity, stop bits, and flow control), even by sending 5, 6, 7 or...
View ArticleDebugger halts upon sending start condition for I2C master read (limxx518)
Hi all,I'm using a chipKIT programmer to program and debug the PIC.I'm writing a simple program to test out my I2C connection between a PIC24FJ32GA002 and a PCA9546APWR bus switch. I'm facing an issue...
View ArticlePIC24EP256GP202 resets on configuring RB7 pin as output or SPI1STATbits.SPIEN...
Hello All, I am trying to port my code from PIC24HJ128GP202 to PIC24EP256GP202 due to RAM size. I am using SPI1 on PIC24EP and the Pins are connected for SPI as mentioned below.RB8 is SOUT and...
View ArticlePIC24EP256GP202 resets on configuring RB7 pin as output or SPI1STATbits.SPIEN...
PIC resets whenever I try to configure RB7 to output. TRISBbits.TRISB7 = 0; and also it resets when I enable SPI1STATbits.SPIEN = 1; Let me know if need more info...
View ArticleBootloader app PIC24F used in PIC24EP (amem00)
Hi all,I'm migrating a firmware from PIC24FJ256GB210 to a PIC24EP512GU810.The firmware works perfectly when programming with a ICD2.I used the default PIC24EP512GU810.gld file for the linker.As I used...
View ArticleEZBL hardware initialization (Rob McKenna)
Hi, i am still a noob to PIC programming, i hope someone can put me in the right direction. I am taking the first steps to integrate the ex_boot_uart into my app, using a PIC24FJ1024GA606. I guess...
View Article[EZBL] Problem on the write of EZBL_APP_INSTALLED (joubert)
Hi, I am working on a new board with a PIC 24.I transfer bl2 image in a SPI flash before writing it to the PIC flash.I change a little EZBL_InstallFileIO2Flash for my application. All is right except...
View ArticleWhat programmer should i use ? (Fabricio Andrade)
Hi everyone, I need to use the PIC24FJ64GB002 but have no ideia about what programmer to use. My University has ICD3, PICki2 and PICkit3 on laboratory. Some of these will work ? Tks..
View ArticleSupposedly Disabled Watchdog Timer Resets During Printf (olochua)
Hey all, I am using a PIC24FJ1024GA610 with XC16 v1.31. My main function does the following (UART3 used for printf): uint16_t PayloadSize = 0; uint8_t TestCommand = 0; for(TestCommand = 0; TestCommand...
View ArticleHandling mouse position in USB host (MLA) (cmj)
HiI'm trying to use the MLA to read a USB mouse with the Explorer 16/32 board and a PIC24EP512GU810 chip. I got the "USB Host - HID Mouse" sample to compile and run and if I move the mouse the numbers...
View ArticlePIC24FJ128GA704 :: Link Error: PC Relative branch to '___fixunssfsi' is out...
Hi we are using PIC24FJ128GA704 controller but when i write more code it is giving error like ::: build/default/production/pic24fj128ga704_timer3.o(.text+0x1c): In function `.L2': : Link Error: PC...
View ArticleWhere do I find the ICSP Interface pinout information PGC PGD? (user2x)
I am working with PIC24F16KL402 and I just cannot find which pins are the PGC and PGD. Where can I find this info? RegardsX..
View ArticleIs it possible to write to program flash without erasing it if flash contains...
When erasing flash memory we write '1' to all it's bits. And after erasing memory we can write to it.But if the word in inactive program memory already contains FFFF is it possible to write to it...
View ArticlePIC24FJ32GA002 read analog inputs (abdummm)
Hello everyone,I am using PIC24FJ32GA002 to create a line following robot. I have been dealing with arduino for a long time but this is my first time using pic. I am trying to read analog values from...
View Article