Problem setup in Logic Analyzer in keil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-11 8:04 AM
I use STM32f103RCT6 to blinking led in pin A8 with 1 second delay, and i try to use logic analyzer to see whether it's right. However, when i setup in ''Current Logic Analyzer Signal'', i write PA.8 in it and it say ''Unknown Signal''. I was trying write everything ''PORTA.8'',''PortA.8'',''PA8'' but it always say ''Unknown Signal''. What signal' name i should write in it???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-01-18 4:46 AM
Please anyone can help us! I read various documentation such as :
http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_logicanalyzer.htm
http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_logicanalyzer_setup.htm
http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_logicanalyzer_restrictions.htm
http://www.keil.com/support/man/docs/uv4/uv4_db_exp_periphlvar.htm
Using ST-Link/V2 and MDK 5 with Discovery/Nucleo Boards
but the same problem appears!
Thanks in advance.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-01-18 8:49 AM
Contact Keil support?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-01-18 8:54 AM
Hi Clive,
No, becuse I think i am doing something wrong, but I don't what is it!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-01-18 1:46 PM
Hi,
Keil's Logic Analyzer is not a 'hardware' logic analyzer, and do not monitor I/O pins. It is also limited by the debugger and the MCU core you are using.
See below.
Cheers,
Alex.
_____________________________________________
From Keil uVision User's Guide: Logic Analyzer
µVision User's Guide: Restrictions
RestrictionsWhen debugging on hardware, the number of items that can be defined in the
is restricted by the microcontroller core (refer to Access Breakpoints inhttp://www.keil.com/ulink/cmp.asp
). Many more different items can be defined in simulation mode.The Logic Analyzer can record changes of:
- Global program variables, including
struct
members. - that represent I/O pins of the microcontroller.
- Peripheral registers that are triggered by external or internal events, but with the restrictions outlined below.
The Logic Analyzer
cannot
record changes of:- Automatic variables defined inside a functionAutomatic variables are located on the stack or in overlayable memory regions. It is not possible to record changes of dynamic memory locations.
- CPU registersCPU registers cannot be triggered with read or write breakpoints. Therefore, such changes cannot be recorded.
- Peripheral registers that represent timer registersIncrements of timers (or similar peripherals) are not simulated. Instead, the timing of events that are triggered by a timer, is calculated. Therefore, it is not possible to view timer increments.
- I/O pins of communication peripheralsI/O pin toggling of UART, CAN, SPI, or I²C communication peripherals is not simulated. It is assumed that the timing of communication streams behaves according to the specifications. Instead, the I/O stream is represented by VTREGs.
- Memory BUS signalsµVision simulates a CPU including memory areas, but it does not simulate the Memory BUS signals (data BUS, address BUS, and control lines like RD, WR, ALE). Therefore, it is not possible to view memory BUS signals with the Logic Analyzer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-15 9:45 AM
I have the same problem and I cannot find any solution for it. If you've found a solution, please let me know.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-15 2:57 PM
Don't hijack threads - start your own.
