Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to input data to serial window in Keil during debugging

Status
Not open for further replies.

u2bpavankumar

Newbie level 6
Joined
Oct 21, 2009
Messages
11
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,380
Hi,

I am working on MCB2300 (LPC2378) and I am using Keil uVision4. In my code I need to give some inputs to the code using serial window.

When I open serial window (UART #1-3), I am not able to type any characters on the screen. When I have typed SIN = 'A' on the debugger's command window i get an error message saying *** error 34: undefined identifier .

Please let me know should to input data to serial window and also how to capture the data in serial window to an text file

Please let me know how to input some text using serial window
Regards,
Pavan
 

Thanks for your reply. I am trying to run the example code provided in the location <b>c/Keil/ARM/Boards/Keil/MCB2300/RL/FlashFS/SD_File</b>

I can compile the code and during debugging I have tried to access the files on SD card by giving some commands on Command Window but it does n't accept them. I think i need to pass those commands using serial window. Serial window does n't allow me to type any characters. Please let me know in that example program how to do some operations on the SD Card like reading, deleting, format etc.,
 

Please let me know how to run this standard example provided in c/Keil/ARM/Boards/Keil/MCB2300/RL/FlashFS/SD_File so that i can use the functions like reading SD card, format etc., None of my serial windows during debugging allow me to type any information.
 

I am trying to run the project SD_File which is available in folder C:/Keil/ARM/Boards/Keil/MCB2300/RL/FlashFS/SD_File

I can compile it successfully. After compiling the code, I start debugging. During debugging after pressing F5 (RUN) I am supposed to get the display of intro[ ] and help[ ] (name of the arrays used in the SD_FILE project). These arrays are nothing but the list of commands available like DIR, CAP, FORMAT . After displaying all the available commands at the bottom there should be a command prompt where we can enter any command of our choice to perform operations on SD Card. All these things should be displayed on Serial Window (UART#2 as per this example). But I don't get any display of these commands on my serial window and I cannot enter any command on the window as well.

I tried running another example File_ex1 available at C:/Keil/ARM/RL/FlashFS/Examples/File_ex1 which is for LPC 2294 which also performs similar manipulation of files and the flash file system is configured for SRAM. There all the available commands are displayed on the serial window when I debug it and I can type and perform all operations mentioned in the code like read a file, append, delete etc.,

This SD_File project is also for manipulation of files but file system is configured for SD Card which is for LPC 2300. My requirement is to work on LPC 2378 so I am trying to look at the given example and start building my application. But I am not able to run this SD_File project. Please let me know what could be the problem here.
 

My program is executing now. On MCB 2300 the card is not sitting in its appropriate position. I need to press it down and then run my program. Now I can access my sd card and perform all the operations. Thanks for your support
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top