Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

dsPIC33F Code example does not work

Posted by TheNewGuy on August 3, 2010
Hi

I've been trying to get the demo application included with RTOS to work. I'm using Microchip MPLAB IDE, C30 compiler, the Explorer 16 development board and the ICD2 as a programmer. I kept the project as I found it (except for changing some directories) and it compiles with no error.

After programming the microcontroller then removing and replacing power, I get a blank LCD and one of the LEDs (D10) is constantly lit although it is very dim.

Can someone give insight on what the problem may be? Thanks in advance.

P.S The FreeRTOS website says something about a "D socket" which I'm unfamiliar with so I ignored that sentence.

RE: dsPIC33F Code example does not work

Posted by Richard Damon on August 3, 2010
The D socket that was mentioned I believe is the 9 pin D-Sub connector for the serial port, the application expects a loop back so it receives back what it sent out.

As to the system coming up "dead", one thing that sometimes happens to me is by mistake I load a debug version down with the debugger, instead of a release version with the programmer. When loaded with the debugger, the program NEEDS the debugger still attached to run, or else the unit just locks up.

RE: dsPIC33F Code example does not work

Posted by TheNewGuy on August 4, 2010
Thanks Richard
I looked through the demo again after reading this post and I noticed a few mistakes on my part. First, after you pointed it out, I discovered that there was no loopback connection. Second, the Explorer 16 board that I'm using is different to the one specified in the example application. The example drives a 16x2 alphanumeric LCD but the board which I have has a graphic LCD installed. This says to me that the connections on the board are different and the microcontroller wont have the same effect which explains why the system comes up dead.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists