FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [August 2010 Threads] dsPIC33F Code example does not workPosted 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 workPosted 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 workPosted 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.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|