Quality RTOS & Embedded Software

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




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) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

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

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

OpenRTOS and SafeRTOS