Search Results

Search results 1-12 of 12.

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • HI Thomas, I have been heavily busy since the last post. But anyhow...Regarding the question you recently posted. It is quite easily to implement. I will check if I build a simple interrupt project that uses the ST library stuff. More tomorrow. BTW: We are drifting away from the initial problem. I think it would be better to create a new thread in the "General" topic-folder. What do you think? Cheers, marocprof

  • Looking forward to your project... marocprof

  • FANTASTIC NEWS I took a look into the J-Link gdb server manual and they have a command for setting the gdb server to little endian mode thru a monitor command. --> I have update the STR912.gdb file in my test project so that the gdb server is set to little endian mode. If you're interested you can download it. Have fun...

  • I do not have any problems with the project - I can program the flash and use the arm-elf-insight to debug the application. Just for verification: Your J-Link gdb-server is set to little endian, isn't it? marocprof

  • Sorry I meant screen shot. Anyway, I took some time on the weekend and made a simple project for the STR912. You can download it from 1webspace.biz/marocprof/index.html It is a simple LED toggle project using GPIO6 as LED source. The following make targets are available: - make ROM - builds a ROM version of the app. - make ROM - builds a RAM version of the app. - make all - builds both - make debug_rom - builds the ROM app and start arm-elf-insight - make debug_rom - builds the RAM app and start…

  • Do you have a shortcut showing your problem? Regards, marocprof

  • Hi Thomas, The initialization (or a gdb init file) is quite simple for the STR912. The initialization (STR_912_J-Link.gdb) should only have these steps: Source Code (6 lines) I think it would be best to do the first steps with makefile and arm-elf-insight (gdb + GUI front end). If everything is working, the next steps would be to use the Yagarto stuff. To integrate the debugger into Yagarto: I think it's quite well explained on the Yagarto website. A good literature is the GNU-Based Software Dev…

  • Hi Thomas, What are you exactly trying to do? Do you want to program your application into flash and debug it with gdb/gdb-server? If so, this will not work. The J-Link gdb-server does not support flash download. Either you let your application in RAM (modify your linker file) or you use an external tool to program the flash of the STR91x and then use the gdb/gdb-server combo to debug your application. Cheers, marocprof

  • HI MFM, Great that are great news I've updated the file, so that adaptive clocking is used instead of fixed speeds. Cheers, marocprof

  • Hi MFM, I found the reason for that. 1. CPU is running with slow clock. 2. Watchdog is enabled. To make things easier, I made a simple project file that includes everything. The correct settings + initialization. You can download it from the following location: http://www.1webspace.biz/marocprof/AT91CAP9.jflash Download the file and open it with J-Flash. Let me know if this helps. Cheers, marocprof

  • Hi MFM, It's very easy. All you have to do is to setup a simple project file. Do the following: - Open J-FLash - Goto File\New Project - Now open the project options via Options\Project settings - Set both J-TAG speed options to "Adaptive clocking", since the core is an ARM926EJ-S Core. - Set in CPU tab- Core: ARM7/ARM9 - Little endian - Use target RAM: 00100000; Size 32KByte - Init Sequence: Reset;0;0 - [If you have the PLL initialization sequence, add the steps here] - Set in Flash tab:- Base …

  • Hi Marco, Simply select another format in the project options dialog.- Go to Project\Options (ALT+F7) - Click on the Linker item - In the Linker\Format group select "Other" and select either- raw-binary - intel-extended - motorola - Rename the extension of the output file to the extension J-Flash can read.- raw-binary - *.bin - intel-extended - *.hex - motorola - *. mot That's it. Cheers, marocprof