Jump to content
43oh

SLLogicLogger - A simple logic analyser for the Stellaris Launchpad


Recommended Posts

The logic sniffer app says so. I did not change the code. I used the available window in the provided software. So you suggest that I should change the code. I'll look into it. I thought changing the sampling time will change the period. :)

 

The inner loop has no built-in period adjustment - just a bunch of reads and writes in a tight loop.

Would be easy to insert some delay.

If you increase buffersize a lot will probably run out of RAM (only 32KB RAM).

Link to post
Share on other sites

My logic analyzer, based on MSP430F550x, conected to PC by USB, have sampling frequency (using DMA) MCLK/2 (24 MHz / 2 = 12 MHz).

 

http://forum.43oh.com/topic/3909-msp430f550x-based-logic-analyzer/

 

I expect that much higher resolution is possible with Stellaris Launchpad.

 

Resolution is not the biggest worry for me. But the capture time. What is the capture time of your design?

Link to post
Share on other sites
  • 1 month later...
I tried to fix the error but new errors appeared.

 

In the CCS I followed this sequence: Project > Properties > CCS Build > ARM Compiler > Advanced Options > Predefined Symbols > Pre-Defined NAMES (insert here "PART_LM4F120H5QR").

 

This is right? I'm using the Stellaris Launchpad, not Tiva.

 

The CCS Before the changes:

ccs_before.png

 

The CCS After the changes:

ccs_after.png

 

Thanks.

Link to post
Share on other sites

Hi,

You need also to add this line at the beginning of the file:

#include "driverlib/rom_map.h"

This will allow you to call functions from ROM - also lowering the code size.

Try this first and we will se for the remaining errors (stack) - try also to increase its size, but from CCS, not from linker or startup file (unfortunately there are three places to modify the stack...)

L.

Link to post
Share on other sites
I tried solve the problem changing Stellarisware by Tivaware without put the "pre-defined name"

 

The two initial errors was resolved, but appeared on new error:

Description Resource Path Location Type

#1965 cannot open source file "inc/lm4f120h5qr.h" main.c /sllogiclogger line 29 C/C++ Problem

 

When I try exclude this "include" appear 90 new errors like: 

Description Resource Path Location Type

#20 identifier "bool" is undefined main.c /sllogiclogger line 147, external location: C:\TivaWare_C_Series\driverlib\gpio.h C/C++ Problem

 

Description Resource Path Location Type

#20 identifier "int32_t" is undefined main.c /sllogiclogger line 151, external location: C:\TivaWare_C_Series\driverlib\gpio.h C/C++ Problem

 

I'm having many problems to execute codes from internet that use the "Stellaris Ware" and "Tiva Ware".

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...