Crypto Paranoia - Is it a bad idea to use the PIC24 Cryptographic Engine OTP...
Hello All,I do hope that I am missing something obvious, and can improve on my crypto education. I begin with the following:Whatever is programmed into the Cryptographic Engine OTP array survives a...
View ArticleEasy boot loader build issue (hello_1122)
Hi,We are trying to build the ex_app_led_blink application with UART bootloader for PIC24EP. Linker script is updated for PIC24EP. Build is successful, it's showing the following message on the output...
View ArticlePIC24FJXXXGA0XX flash programing specs (eballetbo)
Dear all, I tried to program a PIC24FJ and I found an issue reading the Device ID registers. I did the simple test of call 5 times the code below and print the device_id and device_rev. Initially I...
View ArticleHow to use PIC24FJ256GB406 Crypto Module wrong output. (tuxx)
Hello,all functions working perfectly in CBC Mode, now i tried to switch to CTR (AES 128bit Counter Mode). Expected Output would be (specified by NIST, OpenSSL produces same Ouput)0x87, 0x4d, 0x61,...
View ArticleHas anyone used TMPR (tamper) pin to erase Key RAM on a PIC24 with HW Crypto...
I'm adding security to a product which uses the PIC24FJ256GA406, and am considering using the HW Crypto facility in conjunction with the TMPR (tamper) pin. Connecting Vbat to a 3V coin cell maintains...
View ArticleCryptographic engine Pic24FJ128GA406 (oldguy)
Hi I am using the Cryptographic engine in simple DES mode 64 bit ,EBC, so far everything works fine. My question is, does the time taken to encript or decript data vary with the dataRegardsOldguy...
View ArticleBootloader Almost Working (SinCitiesSin)
Hello, I am making a bootloader for a PIC24FJ256GA106. I am trying to use the EZBL from microchip but due to predetermined design constraints I am having to modify the code quite heavily. I have...
View ArticleRemappable periperal malfunction (Ancodec)
PIC24FJ128GA202, SOIC package, looking at DS30010038C data sheet. XC16 compiler Pin 15, PGC3/RP6/ASCL1/CN24/RB6 configured as output, works fine as RB6 (writes to LATB work as expected) but when I use...
View ArticleHow in C to place a variable in memory from 0x1FFF to 0x7FFF in...
Hi! How in C to place a variable in memory from 0x1FFF to 0x7FFF in PIC24EP2GP202?..
View ArticleStupid C syntax question for PIC24FJxxx (BobAGI)
Please do not flame me but I would like to get an explanation of the following code snippet from a FatFs example for PIC24F:staticvoid xmit_spi_multi ( const BYTE* buff, // Data to be sent UINT cnt //...
View ArticlePIC24 offcal adc calibration (picy2620)
Hi all, Did anyone of you tried calibrating the 12bit adc using the offcal bit inside AD1CON2 register?The 12bit adc datasheet says not much about it. See second attachment. When trying to get the adc...
View ArticleDebugging and UART dies (GoEk)
Hi,I am using a PIC24FJ256GB210 with XC16 1.24, MPLAB X 3.45, RealICE and MLA 2015-08-10. I have configured the MCC to use the UART port in interrupt mode and if I hit run Everything runs fine until I...
View ArticleInterfacing a adafruit BME280 Breakboard to a PIC24FJ128GA204...
Hi, Has anybody successfully got this board to work with a PIC24FJ128GA204 see link. https://learn.adafruit.co...rature-sensor-breakout I realize this board is to designed for use with an Arduino...
View ArticleSPI on PIC24FJ1024GA606 - upgrade from PIC24FJ128GA106 & MCC (jastmc)
I have a working SPI interface to a PIC24FJ128GA106 but I need more memory for an application upgrade so I chose a PIC24FJ1024GA606 as it is pin compatible. I used MCC to set up the i/o and the...
View ArticleReg:PIC24 consumes more current in sleep condition (jayanthi)
Dear Friends, I am using PIC24FJ64GA104 IC in my datalogger.My board is consuming 28mA during normal operation(no load,no peripherals on) and 5 mA during sleep.Only controller is having power ,other...
View ArticleLinux OS on PIC24FJ32GB002 , PIC24FJ128GB206 and PIC18F26K22 (Basavanagouda)
Hi,We are trying to work on following controllers PIC24FJ32GB002 , PIC24FJ128GB206 and PIC18F26K22.We have a requirement to use Linux OS ! on these controllers.Can any one please tell us how we can use...
View ArticlePORTB always reads zero (OpAmp Rules)
Hello, I'm using PIC24F16KL402 and I'm stuck with a very simple thing: PIC always reads digital zero on port RB4, no matter if there is 0 or VDD on the external pin (I checked it with a oscilloscope)....
View ArticlePorting Basic Android Open Accessory to PIC24FJ32GB002 (johny)
I have the Microchip demo project running on PIC24FJ256GB206 based hardware, but running a ported version on PIC24FJ32GB002 based hardware does not work: No interrupts are occuring (_USB1Interrupt)....
View ArticlePIC24FJ UART problem (freaky_geek)
Iam working on PIC24FJ256GB106 for the serial (UART). Made configuration settings as #include int CONFIG3 __attribute__((space(prog), address(0x2ABFA))) = 0xFFFF ; //_CONFIG3( // WPFP_WPFP511 & //...
View ArticleIssue with PIC24FJ128GC006 SPI SDI and RC14 (ssagerian)
The PIC24FJ128GC006 only has one RPINR pin (pin 48, RC14), I have mapped it to SDI1. RC14 is an input only so there is no TRISC bit or ANSC bit. When I try to receive a byte from the SPI1 port I get...
View Article