Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - aloft

Pages: 1 [2]
16
Luminary Micro TM LM3SXXXX / Using the UART in the simulator.
« on: September 06, 2008, 11:50:50 PM »
Thanks for this great resource.  I've been able to do quite a bit with it so far.  Now I'd like to communicate with the UARTs and I'd like to start with the simulator.

I've tried following the section on UARTS in the Simulator in post http://www.utasker.com/forum/index.php?topic=54.0 but I'm not having any luck.  There is also a reference to a different tutorial in the LM3SXXXX tutorial that I can't seem to find.

My computer only has 1 serial port so I'm setting to port 3 as below then building the Simulator and trying to access the simulator using the serial port of another computer.  Is this correct?

At first, I thought I could open a terminal window on the same computer but after thinking about it, I figured I'd need to use a second computer.  I confirmed that I can talk between the two computers by sending messages back and forth between terminal sessions on each computer.

Any ideas?

Thanks,

TW

 #define SERIAL_PORT_0 '3'                                            // if we open UART channel 0 we simulate using this com port on the PC (0 for no mapping)
    #define SERIAL_PORT_1 '3'                                            // if we open UART channel 1 we simulate using this com port on the PC
    #define SERIAL_PORT_2 '0'                                            // if we open UART channel 2 we simulate using this com port on the PC

17
Thank you Mark (and Alan P.).  I can at least ping now.  I'm having issues with a resetting FTP port, but thanks for getting me to this point!!

TW

18
Luminary Micro TM LM3SXXXX / Compiling uTasker with CodeSourcery GNU.
« on: July 06, 2008, 02:07:30 PM »
Hello.  First, let me say, I've been impressed with what has been done on this project.  The Visual C++ simulator is awesome and clearly took a lot of work to create.

I've been trying to compile the uTasker project with the CodeSourcery GNU compiler.  To start, I copied the did a search-replace on all the arm-none-eabi-gcc with arm-stellaris-eabi-gcc which is Codesourcery's evaluation version.  This did build a .bin but it doesn't seem to work when I downloaded it to my LM3S6965 Rev. C evaluation board.  I didn't expect any OLED output but I did expect to see the device on the status page of my router when I plugged it in.  I was using this same router for the VC++ simulator so I think the router is setup properly (Masks etc).  I've attached just the makefiles of this project to save space as CodeSourcery_LM3SXXX_first_build_bin_makefiles.zip.

As a next step, to use the debugger, I needed a .axf file so I modified an existing CodeSourcery project to include the uTasker .c and .h files.  This also didn't seem to work.

Has anyone used the Codesourcery stellaris compiler with the uTasker successfully.  I'm sure that I'm missing a fundamental build issue, but the .map file looks fine to me.

Thank you,

TW.

Pages: 1 [2]