Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Unable to program F28M35H52C1 with blinky

$
0
0

Since yesterday I'm trying to get started with the above mentioned controller. After working with small 8 or 16 bit uC for years, this is the first time I'm using such a complex one. That's why I started with some pretty simple task, like getting the "blinky" example project from ControlSuite up and running. But I'm failing now for two days, which is pretty frustrating. :(

I already managed the problem with the two supplys (I somehow suspected something like that, because of the _isolated_ onboard JTAG but first tried to supply via the docking station which resulted in a conflict of the two XDS100 and only finally discovered the mini/micro USB combo) and also added the xml files Lori posted about a week ago (btw they seem to have to be located at ccsv4/CCSnowFlash/configs on my computer as there is no folder named like the one Lori mentioned), but I'm still halted by a "Cannot write to target" error (most often) or one like "device is in reset" (seldomly). In order to clarify my problem here is the console output after trying to start a debug session:

Cortex_M3_0: GEL Output: Memory Map Initialization Complete
Cortex_M3_0: GEL Output: Watchdog Timers Enabled
Cortex_M3_0: GEL Output: UARTs Enabled
Cortex_M3_0: Trouble Reading Memory Block at 0x680800 on Page 0 of Length 0x4: (Error -1204 @ 0x680800) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Release 5.0.429.0)
Cortex_M3_0: GEL: Error while executing OnReset(0): Target failed to read memory at 0x00680800.
Cortex_M3_0: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
Cortex_M3_0: Flash Programmer: Error initializing device.
Cortex_M3_0: Flash Programmer: Error erasing Flash memory.
Cortex_M3_0: Flash operation timed out waiting for the algorithm to complete. Operation cancelled.
Cortex_M3_0: Trouble Writing Memory Block at 0x200030 on Page 0 of Length 0x6: (Error -2044 @ 0x20004184) Internal error: Requested breakpoint does not exist. Restart the application. If error persists, please report the error. (Release 5.0.429.0)
Cortex_M3_0: Warning: (Error -1003 @ 0x2BC5) Internal error: Invalid parameter passed to function. Restart the application. If error persists, please report the error. (Release 5.0.429.0)
Cannot write to target

Power cycling or restarting CCS don't change anything and I haven't touched the JTAG configs at all. This is my target configuration file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<configurations XML_version="1.2" id="configurations_0">

<configuration XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0">
        <instance XML_version="1.2" desc="Texas Instruments XDS100v2 USB Emulator_0" href="connections\TIXDS100v2_Connection.xml" id="Texas Instruments XDS100v2 USB Emulator_0" xml="TIXDS100v2_Connection.xml" xmlpath="connections"/>
        <connection XML_version="1.2" id="Texas Instruments XDS100v2 USB Emulator_0">
            <instance XML_version="1.2" href="drivers\tixds100v2icepick_c.xml" id="drivers" xml="tixds100v2icepick_c.xml" xmlpath="drivers"/>
            <instance XML_version="1.2" href="drivers\tixds100v2cs_dap.xml" id="drivers" xml="tixds100v2cs_dap.xml" xmlpath="drivers"/>
            <instance XML_version="1.2" href="drivers\tixds100v2cortexM.xml" id="drivers" xml="tixds100v2cortexM.xml" xmlpath="drivers"/>
            <instance XML_version="1.2" href="drivers\tixds100v2cs_child.xml" id="drivers" xml="tixds100v2cs_child.xml" xmlpath="drivers"/>
            <instance XML_version="1.2" href="drivers\tixds100v2c28x.xml" id="drivers" xml="tixds100v2c28x.xml" xmlpath="drivers"/>
            <platform XML_version="1.2" id="platform_0">
                <instance XML_version="1.2" desc="F28M35H52C1_0" href="devices\f28m35h52c1.xml" id="F28M35H52C1_0" xml="f28m35h52c1.xml" xmlpath="devices"/>
                <device HW_revision="1" XML_version="1.2" description="" id="F28M35H52C1_0" partnum="F28M35H52C1">
                    <router HW_revision="1.0" XML_version="1.2" description="ICEPick_C Router" id="IcePick_C_0" isa="ICEPICK_C">
                        <subpath id="C28x">
                            <property Type="numericfield" Value="0x11" desc="Port Number_0" id="Port Number"/>
                        </subpath>
                    </router>
                </device>
            </platform>
        </connection>
    </configuration>
</configurations>

I'd really appreciate if someone could tell me what I'm doing wrong.


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>