IDE pro vyvoj pro MCU - MS VS + WinGDB

Michal Grunt michal.grunt na vynet.cz
Středa Říjen 10 21:22:42 CEST 2012


Tak uz mi to funguje (s vasim Insight bez XML). V 'Target options' bylo nutne po kliknuti na 'More' v 'Run method' kliknout na 'Run program' a ne (bylo nastaveno jako vychozi) 'Continue from Last Stop'.

DEKUJI! Skoda ze nefunguji breakpointy v C::B (jedine je v konzoli napsat rucne).

________________________________________
Odesílatel: hw-list-bounces na list.hw.cz [hw-list-bounces na list.hw.cz] za uživatele Petr Labaj [labaj na volny.cz]
Odesláno: 10. října 2012 1:21
Komu: HW-news
Předmět: Re: IDE pro vyvoj pro MCU - MS VS + WinGDB

Zkuste vyrobit soubor stm32f0.xml s timto obsahem a predhodit ho GDB volbou
set tdesc filename <cesta>\stm32f0.xml

<?xml version="1.0"?>
<!DOCTYPE target SYSTEM "gdb-target.dtd">
<target>
<feature name="org.gnu.gdb.arm.m-profile">
<reg name="r0" bitsize="32"/>
<reg name="r1" bitsize="32"/>
<reg name="r2" bitsize="32"/>
<reg name="r3" bitsize="32"/>
<reg name="r4" bitsize="32"/>
<reg name="r5" bitsize="32"/>
<reg name="r6" bitsize="32"/>
<reg name="r7" bitsize="32"/>
<reg name="r8" bitsize="32"/>
<reg name="r9" bitsize="32"/>
<reg name="r10" bitsize="32"/>
<reg name="r11" bitsize="32"/>
<reg name="r12" bitsize="32"/>
<reg name="sp" bitsize="32" type="data_ptr"/>
<reg name="lr" bitsize="32"/>
<reg name="pc" bitsize="32" type="code_ptr"/>
<reg name="xpsr" bitsize="32" regnum="25"/>
</feature>
</target>

PL

************************************

From: "Michal Grunt" <michal.grunt na vynet.cz>
To: "HW-news" <hw-list na list.hw.cz>
Sent: Wednesday, October 10, 2012 12:38 AM
Subject: RE: IDE pro vyvoj pro MCU - MS VS + WinGDB


To bych ale musel tu definici vytvorit a jelikoz procesor jeste moc neznam tak to nedokazu a na internetu jsem zadny priklad pro f0 nenasel.

http://sourceforge.net/projects/devkitpro/files/Insight/
insight-7.4.50.20120202-cvs.exe

________________________________________
Odesílatel: hw-list-bounces na list.hw.cz [hw-list-bounces na list.hw.cz] za uživatele Petr Labaj [labaj na volny.cz]
Odesláno: 10. října 2012 0:21
Komu: HW-news
Předmět: Re: IDE pro vyvoj pro MCU - MS VS + WinGDB

Porad mate moznost pouzit to, co jsem Vam psal uz driv, tj. definici registru
pomoci xml souboru. Pak by melajet jakaoli verze GDB nebo Insight.

Jinak SIGSTOP mozna nebude chyba, ale informace o pozadavku na stop.

Dejte nekam tu Vasi versi Insight, ze zajimavosti to skusim u sebe.

PL

**************************************

From: "Michal Grunt" <michal.grunt na vynet.cz>
To: "HW-news" <hw-list na list.hw.cz>
Sent: Wednesday, October 10, 2012 12:06 AM
Subject: RE: IDE pro vyvoj pro MCU - MS VS + WinGDB


Hmm. Takze s GDB ze Sourcery to jde. Nicmene Insight stejne nejde. A to jak ta moje verze, kde jsem se i pokousel nahradit GDB ze Sourcery (stejne hodi chybu remote g...), tak i ta vase verze - ta pro zmenu haze chybu Program received signal SIGSTOP, Stopped (signal) :-)

Takze jediny co mi jde (z cmd):
- GDB ze Sourcery
- GDB z toolchainu Tools ARM Embedded nebo i ten z me verze Insight a zopakovat sled prikazu jako to dela Eclipse

_______________________________________________
HW-list mailing list  -  sponsored by www.HW.cz
Hw-list na list.hw.cz
http://list.hw.cz/mailman/listinfo/hw-list
_______________________________________________
HW-list mailing list  -  sponsored by www.HW.cz
Hw-list na list.hw.cz
http://list.hw.cz/mailman/listinfo/hw-list
_______________________________________________
HW-list mailing list  -  sponsored by www.HW.cz
Hw-list na list.hw.cz
http://list.hw.cz/mailman/listinfo/hw-list


Další informace o konferenci Hw-list