Reset by watchdog in debug mode

Hi all!

I'm working in a system with Leon3 with a Modular Timer Unit (GPTIMER) 
with three timers, the third one is used as watchdog timer. Also I've 
the DSU3 Debug Support Unit.

I'm trying to have a reset by watchdog if the processor is halted (the 
signal of Leon error is also asserted) but I don't achieve it. I've read 
in documentation that all the timers are frozen when processor goes
to debug mode, and this is happened when processor is halted. I've set 
the Bit 9 in the "Configuration register" of the Modular timer Unit 
which means "Disable timer freeze (DF). If set the timer unit can not be 
otherwise signal GPTI.DHALT freezes the timer unit.", but the timers 
continue stopping and the reset by watchdog is not raised.

What I'm doing wrong? I'd really appreciate any help.

Thank you in advance.



Posted by: Carmen Pastor <carmen_iaa@...>


(Continue reading)


LINUXBUILD is now out of "beta"

Hi everyone!

We are happy to announce that LINUXBUILD Linux build environment can now
be considered out of "beta" with updated documentation and fresh
releases of all included components.

Using the latest LEON Linux kernel package and latest MKLINUXIMG it
provides driver support for a large number of our IP cores.

Using the latest LEON Buildroot package it provides support for a highly
configurable user space environment with support for a large number of
software packages.

For more details:
- http://gaisler.com/index.php/products/operating-systems/linux

Download LINUXBUILD and find manuals at:
- http://gaisler.com/index.php/downloads/linux

As always, all feedback are most welcome.

On a related note, Snapgear has been discontinued. It is still available
for download, but is not actively maintained and has not been for some

Best regards,

Andreas Larsson
Software Engineer
Aeroflex Gaisler AB
(Continue reading)


GRMON Detected Frequency

I am using advance DCM feature (DCM_ADV) of Virtex-5 to dynamically change the clock frequency, I wanted to know can I use GRMON to test the aforementioned functionality


Posted by: zohaibnajam-ur4TIblo6goN+BqQ9rBEUg@public.gmane.org


Number of Cache Misses for hello world

I need to determine number of cache misses in order to validate my performance stats (cache access, hit and miss). I have determined access and hit for both I-cache and D-cache but in order to validate those results I need number of cache misses as well

For the time being I have estimated number of cache misses as:

No. of Cache Miss = No. of Cache access - No.of Cache hit

I want to know what signals in LEON3 to consider in order to find number of cache misses


Posted by: zohaibnajam-ur4TIblo6goN+BqQ9rBEUg@public.gmane.org



Hey i wanted to know if I can synthesize leon3 using a different library file (by using 'custom' library option in make xconfig) in DC. Saed32 is not a synthesizable library. So i wanted to use one which can be synthesized.

Posted by: aniket sharma <nooneknowswhy91-/E1597aS9LQAvxtiuMwx3w@public.gmane.org>


load and relocation addresses

I'm writing a BOOT application that works perfectly when .text is in PROM and .bss RAM.

I introduced some changes via linker script to put .text section in RAM area, and be able to execute BOOT main process from RAM. The problem is that .text section does not use new functions (RAM) addresses.

What I mean is that .text section calls, stil pointing to functions inside PROM, in place of RAM.

I can add detailed information about the problem.

How could I solve this issue? Any help will be apreciated.

Thank you alot.


Posted by: fernando.piarrette-/E1597aS9LQAvxtiuMwx3w@public.gmane.org


Re: boot from ahbrom

Dear all:

Rajen Paudel <rajen_fren@...> emailed a huge (>10MB!) email to
this email list more than once on November 4th, 2014. Rajen Paudel -
please do not do this again.

Paul Colin de Gloucester

Posted by: Nicholas Collin Paul de Gloucester <Gloster@...>


Yahoo Groups Links

<*> To visit your group on the web, go to:

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    (Yahoo! ID required)

<*> To change settings via email:

<*> To unsubscribe from this group, send an email to:

<*> Your use of Yahoo Groups is subject to:



Hi, I am an undergraduate student would like to use leon3 to my research project, I would like to ask how to port LEON3 on other FPGA boards not included in the grlib

in my case it is Altium Nanoboard NB3000XN with an XC3S1400AN FPGA.

I have seen a post here of someone able to port on to an altium nanoboard but I wasn't able to contact him. Perhaps anyone have an idea?

Posted by: miku.abuan-/E1597aS9LQAvxtiuMwx3w@public.gmane.org


Connecting GRMON with ethernet for Nexys4


I have to use Chipscope and GRMON at the same time, so I need to connect GRMON through ethernet. I am facing problems while doing so. I have setup the ip-address as listed on other discussions in the group. When I connect it through ethernet, the screen displays "Ethernet start-up..." and then the GRMON app crashes- "grmon.exe has stopped working".

Platform- Windows 7

The error message is :

Problem signature:
&nbsp ; Problem Event Name: APPCRASH
  Application Name: grmon.exe
  Application Version:
  Application Timestamp: 54378dd4
  Fault Module Name: grmon.exe
  Fault Module Version:
  Fault Module Timestamp: 54378dd4
  Exception Code: c0000005
  Exception Offset: 0007a714
  OS Version: 6.1.7601.
  Locale ID: 1033
  Additional Information 1: 0a9e
  Additional Information 2: 0a9e372d3b4ad19135b953a78882e7 89
  Additional Information 3: 0a9e

  Additional Information 4: 0a9e372d3b4ad19135b953a78882e7 89

Thanks in advance.


Posted by: rastogi.chavi-/E1597aS9LQAvxtiuMwx3w@public.gmane.org


DSU instruction trace


When does the "Time tag" field of the instruction trace entry is sampled? When starting to execute an instruction? After finishing the execute stage of the pipeline? after exiting the pipeline?


Posted by: bruno.green-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org


Implementation of GRPCI

Hi, I would like to implement GRPCI in a breadbord with LEON3MP processor.

Is there any tutorial or documentation on how to implement PCI.

Thank you for your answer,

Posted by: nicolas.tomatis-/E1597aS9LQAvxtiuMwx3w@public.gmane.org