Wednesday, October 18th 2017, 6:32pm UTC+2

You are not logged in.

  • Login
  • Register

Search results

Search results 1-13 of 13.

Monday, October 9th 2017, 12:32am

Author: apullin

Expressions for watched data in ozone, cast pointer to array?

When using Ozone, I commonly encounter situations where pointers to dynamic memory are used, but are picked up as just 1-element arrays by the Ozone debugger since there is no compile-time info available, so that only the [0] element can be dereferenced in the "Watched Data" windows. Is there support in Expressions used by Ozone support a way to look at the pointer as an arbitrary type, like casting (sort of) to a char[128] or similar?

Thursday, October 5th 2017, 7:53am

Author: apullin

RTTClient on OSX w/out echo?

Is there an option to disable local echo for the command-line version of RTTClient on OSX? I check the manual and such and I didn't see one ... but I am well aware that sometimes things are so obvious that they get glossed over. If that option doesn't exist, is there any chance it could get added? And is there any chance of a GUI for OSX, like there is on Windows? I am using Ozone now, but the RTT terminal that is there isn't too useful since it is line-oriented, rather than character by charact...

Wednesday, September 13th 2017, 8:20pm

Author: apullin

Ozone, correct way to do multi-image project?

Yeah, that is an OK option. There are occasional changes to the NVM that have to be reflashed ... This seems to work, though: C/C++ Source code 1 2 3 4 void AfterTargetConnect (void) { Target.LoadMemory("bootloader.bin",0x08000000); Target.LoadMemory("NVM.bin",0x08004000); } C/C++ Source code 1 2 3 4 5 6 7 void OnProjectLoad (void) { // // ... // // User settings File.Open ("main.elf"); } so then the NVM/bootloader loads will be trivial loads (only change if needed), and then the device will res...

Tuesday, September 12th 2017, 7:48pm

Author: apullin

Ozone, correct way to do multi-image project?

Interesting ... that's a little more complicated than I thought. The intent really was just to, on connect: loader bootloader & NVM bin's, then reset the chip and run as normal. I even have an ELF for the bootloader, although I expect to never do any debugging inside it.

Sunday, September 10th 2017, 7:35pm

Author: apullin

Ozone, correct way to do multi-image project?

I tried to follow the example given in the Ozone user manual for setting up a multi-image download, but I am having some problems. The project consists of 3 ELF files: bootloader, flash area used as NVM, and then the main program. I have all 3 as both elf and bin files. The main program elf is selected as the elf file to load in the new project creator. Following "6.2.3.1 Writing a Multi-Image Download Routine" in the manual, I added the section to my project file: C/C++ Source code 1 2 3 4 5 6 ...

Sunday, July 30th 2017, 8:34pm

Author: apullin

SytemView v2.50 app crash on OSX

I am currently evaluating SystemView, with the v2.50 application running on OSX. Unfortunately, I am experiencing a reproducible crash situation after ~40s of live recording. I am flashing & running the target with Ozone, and then initiating recording with the SystemView application. Running with a J-Trace Pro probe on the Segger Cortex-M Trace Reference board (STM32F407 micro). All the default SystemView config options are set, other than changing the SYSVIEW_RAM_BASE to 0x20000000. Crash log i...

Saturday, July 29th 2017, 9:22pm

Author: apullin

[SOLVED] Options for tracing with limited pin availability on Cortex M

OK, so I now have a J-trace Pro and it is going to be used for full, real 4-pin ETM trace over ethernet on an upcoming project that is properly set up for it (micro with trace pins, and routed to a proper connector). But I would also like to figure out what is possible for older projects that were not or could not be set up for full trace. I know, these questions come up a lot given how many debug technologies there are now. One scenario is for an STM32F1 chip where SWD+SWO is available, but not...

Wednesday, June 28th 2017, 1:28am

Author: apullin

ThreadX support for SystemView?

So, I am very interested in using SystemView on an existing project that I have here. But, the RTOS in use in ThreadX, and moving to FreeRTOS is not presently tractable. This is further complicated by ThreadX being usually a binary distribution, as I understand it and in the SDK that I am using that incorporates ThreadX, there are only headers and archive files, so patching as in the example included in the SystemView download would not be possible. But maybe there are enough hook functions avai...

Saturday, October 29th 2016, 1:08am

Author: apullin

Ozone, how to load a large source tree?

Interesting ... if I do Project.SetRootPath("..."), where "...." is the absolute path to the root directory where the makefile build is invoked, then all the source files auto-populate. By adding that line into the OnProjectLoad function manually, then all the right settings seem to persist when I quit out and reload the project. Are there any relative paths or root path information present in the ELF file? All I can see from objdump and readelf are the file names, but without any paths. Even wh...

Thursday, October 27th 2016, 5:30am

Author: apullin

Ozone, how to load a large source tree?

I am just trying out Ozone after seeing it at Arm TechCon today. I have a large makefile based project that I would like to bring some debug capability to. I have done some very limited debugging via a roundabout method using TrueStudio, which I believe just automates the interface over gdb-server and wraps a gui around it. But I would like to get set up with full streaming trace. The ELF file output loads with no problem in Ozone, but there are hundreds of source and header files which are not ...

Friday, April 30th 2010, 7:04am

Author: apullin

RE: Clear the flash rom with the JLink-EDU

Quoted from "woehlb" Can I clear the total flash rom with the JLink-EDU? It's possible to "erase" the flash using the GDB server with a "fake" ELF file. Source code 1 2 3 //erase.s .text .space 1024*256 Adjust 256 to suit the size of your flash device. Assemble with: Source code 1 arm-none-eabi-as erase.s -o erase.o Load with: Source code 1 2 3 4 5 6 7 arm-none-eabi-gdb erase.o target remote 192.168.217.130:2331 monitor flash download = 1 monitor flash device = AT91SAM7S256 set remote memory-wr...

Friday, April 2nd 2010, 6:58am

Author: apullin

Program from a .dat file? Atmel ARM7, SAM-ICE

Is it possible to convert the .dat file to any of the other formats? Or extract the flash image from it? It looks like it's just a header and then a binary. If a tools doesn't currently exist for it, could you give any documentation on the .dat file format so I can figure out how to extract the flash image?

Wednesday, March 31st 2010, 1:10am

Author: apullin

Program from a .dat file? Atmel ARM7, SAM-ICE

Hello folks. I am just starting to learn ARM development here. I used the SAM-ICE tool and "J-FLASH ARM" to read back the contents of a device before I reprogrammed it from within the IAR IDE; now, I'd like to restore that original image. I read the chip contents and then saved using the "Save Programmer Data File" option in J-FLASH, which generated a .dat file. I can't seem to figure out how to load or program that image. Is this going to be possible, or did I save it in the wrong way? Thanks!