jg
New Member
Posts: 5
|
Post by jg on Oct 31, 2018 8:47:54 GMT
Hi all, I want to use the ShieldBuddy for a project where the ground potential will be different from my computer. Is it possible to program the ShieldBuddy using an external isolated debugger such as: www.ehitex.de/zubehoer/2505/dap-miniwiggler-v3?c=62 ? What would I need to do in this case?
|
|
|
Post by Admin on Oct 31, 2018 9:46:28 GMT
Yes you can use the miniWiggler with the PLS UDE USB debugger used with the ShieldBuddy.
|
|
|
Post by arthuro on Mar 21, 2019 9:43:03 GMT
Hello,
I got a ShieldBuddy with TC275 DC and a DAP miniWiggler. I am able to debug through Arduino IDE and Eclipse IDE if I use the embedded programmer (direct USB) on the Shieldbuddy. I am able to connect MEMTOOL with USB and also through miniWiggler (dump of the flash is working fine).
However I am trying to debug the ShieldBuddy with the miniWiggler : with DAS device sanner I am able to start the server (UDAS PID xxxx on localhost) I can also start a client and find the target (and get the target info like the device ID and see the port of my UDAS server) I use the same .cfg file and the same das_api.dll file in Eclipse and setting as in MEMTOOL but I am not able to debug.
I read all the post of the forum (without finding a working solution) and also follow most of the .pdf guide. I think I misunderstand how to setup the DAS interface in Eclipse : if I "Use DAS server on remote host" => Tc2CoreTargIntf: No JTAG DAS Server found ! if I don't use the remote : Message from component 'Tc2CoreTargIntf' : Debugging via miniWiggler is not supported ! Please use on-board wiggler of TriBoard or AppKit board !
Could you support me please ?
----------------------------------------------------------
Connection Failed Report from Basic UDE Target Interface, Version: 1.15.6 created: 03/21/19, 10:32:07
----------------------------------------------------------
Windows version: Win8 () Admin: yes
UDE version: Release: 4.10.01 Build: 8105 Path: C:\Program Files (x86)\pls\UDE Starterkit 4.10
Target configuration file: C:\_DEV\AURduino\Projects\HelloSerialInterrupt_ShieldBuddyTC275D-Step\.ude\.target\ShieldBuddy_TC27xD_dasWORKING.cfg
Error messages: Tc2CoreTargIntf: Can't connect target ! Tc2CoreTargIntf: Can't connect JTAG target Tc2CoreTargIntf: No JTAG DAS Server found !
Settings: PortType: DAS CommDevSel: TargetPort: Default TargetPortId: 0 DasIsDefault: n MaxJtagClk: 5000 CheckJtagId: n ScanJTAG: n Ocds1ViaPod: n EtksArbiterMode: None EtksWaitAfterArbitrationTime: 0 RefreshJtag: n RefreshHarr: n ReenableOcds: y ReduceJtagClock: n UseDap: n DapMode: 2PIN JtagMuxPort: -1 UseNewJtagEngine: y ConnOption: Reset SetDebugEnableAb1DisablePin: n ResetWaitTime: 500 ResetMode: Default OpenDrainReset: n DiswdtOnReset: y SetPllOnReset: 0x00000000 SetPllOnReset2: 0x00000000 ExecInitCmds: y InitScript Script: SET 0xF80020A8 0x8000 SET 0xF80020AC 0x8000 ExecOnConnectCmds: n OnConnectScript Script: Script is empty ExecOnExtRstCmds: n FailOnResetMalfunction: n ResetPulseLen: 10 AddResetDelay: 0 UseTrstOnReset: n ExecEmemInitOnReset: 0x00000000 SimHsmBootEnabled: n UnlockInterface: n BootPasswd0: 0x00000000 BootPasswd1: 0x00000000 BootPasswd2: 0x00000000 BootPasswd3: 0x00000000 BootPasswd4: 0x00000000 BootPasswd5: 0x00000000 BootPasswd6: 0x00000000 BootPasswd7: 0x00000000 PasswordFile: UnlockInterfaceDelay: -1 HandleBmiHeader: n SetAutOkOnConnect: n DontUseWdtSusp: n MaxTry: 1 ForceEdMode: -1 UseDflashAccessFilter: y UseTranslateAddr: y DownloadToAllRams: y HaltAfterReset: y TargetAppHandshakeMode: None TargetAppHandshakeTimeout: 100 TargetAppHandshakeParameter0: 0x00000000 TargetAppHandshakeParameter1: 0x00000000 TargetAppHandshakeParameter2: 0x00000000 TargetAppHandshakeParameter3: 0x00000000 ConvertSuspendSignalToPulse: n SimioAddr: g_JtagSimioAccess UseStmForPtm: 1 ExecOnStartCmds: n OnStartScript Script: ExecOnHaltCmds: n OnHaltScript Script: UseTriggerToBreak: y UseTL2OnHalt: y UseOstateStable: y AllowJtagResetWhileRunning: y MaxAccRetry: 1 AccRetryDelay: 10 DefOcdsReserved: UseRestartWhileRunningHandling: n DebugResetOnDisconnect: n IgnoreEmemAccessErrors: n RemapEmemAccess: n EnableAutomaticHsmStart: n EnableAutomaticHsmRunControl: n ReadPmcsrWhileRunning: n MultiChipDbgMode: 0 IvIcacheOnHalt: y IvPlbOnHalt: y SuspendSlaveCores: y FilterMemAcc: y DasDllPath: das_api.dll DasHost: localhost:52842 DasTryStartSrv: y DasSrvPath: servers\udas\udas.exe DasStopSrv: y DasResetHelperBreakAddr: main DasResetMode: 2 DasRemoveLogFile: n DasForwardSerNum: n DasSrvSel: -1 DasPortType: 0 DasPortSel: 0 DasCmdTimeout: 1000 DasWaitAfterConnect: 0
Settings: PortType: DAS CommDevSel: TargetPort: Default TargetPortId: 0 DasIsDefault: n MaxJtagClk: 5000 CheckJtagId: n ScanJTAG: n Ocds1ViaPod: n EtksArbiterMode: None EtksWaitAfterArbitrationTime: 0 RefreshJtag: n RefreshHarr: n ReenableOcds: y ReduceJtagClock: n UseDap: n DapMode: 2PIN JtagMuxPort: -1 UseNewJtagEngine: y ConnOption: Reset SetDebugEnableAb1DisablePin: n ResetWaitTime: 500 ResetMode: Default OpenDrainReset: n DiswdtOnReset: y SetPllOnReset: 0x00000000 SetPllOnReset2: 0x00000000 ExecInitCmds: y InitScript Script: SET 0xF80020A8 0x8000 SET 0xF80020AC 0x8000 ExecOnConnectCmds: n OnConnectScript Script: Script is empty ExecOnExtRstCmds: n FailOnResetMalfunction: n ResetPulseLen: 10 AddResetDelay: 0 UseTrstOnReset: n ExecEmemInitOnReset: 0x00000000 SimHsmBootEnabled: n UnlockInterface: n BootPasswd0: 0x00000000 BootPasswd1: 0x00000000 BootPasswd2: 0x00000000 BootPasswd3: 0x00000000 BootPasswd4: 0x00000000 BootPasswd5: 0x00000000 BootPasswd6: 0x00000000 BootPasswd7: 0x00000000 PasswordFile: UnlockInterfaceDelay: -1 HandleBmiHeader: n SetAutOkOnConnect: n DontUseWdtSusp: n MaxTry: 1 ForceEdMode: -1 UseDflashAccessFilter: y UseTranslateAddr: y DownloadToAllRams: y HaltAfterReset: y TargetAppHandshakeMode: None TargetAppHandshakeTimeout: 100 TargetAppHandshakeParameter0: 0x00000000 TargetAppHandshakeParameter1: 0x00000000 TargetAppHandshakeParameter2: 0x00000000 TargetAppHandshakeParameter3: 0x00000000 ConvertSuspendSignalToPulse: n SimioAddr: g_JtagSimioAccess UseStmForPtm: 1 ExecOnStartCmds: n OnStartScript Script: ExecOnHaltCmds: n OnHaltScript Script: UseTriggerToBreak: y UseTL2OnHalt: y UseOstateStable: y AllowJtagResetWhileRunning: y MaxAccRetry: 1 AccRetryDelay: 10 DefOcdsReserved: UseRestartWhileRunningHandling: n DebugResetOnDisconnect: n IgnoreEmemAccessErrors: n RemapEmemAccess: n EnableAutomaticHsmStart: n EnableAutomaticHsmRunControl: n ReadPmcsrWhileRunning: n MultiChipDbgMode: 0 IvIcacheOnHalt: y IvPlbOnHalt: y SuspendSlaveCores: y FilterMemAcc: y DasDllPath: das_api.dll DasHost: localhost:52842 DasTryStartSrv: y DasSrvPath: servers\udas\udas.exe DasStopSrv: y DasResetHelperBreakAddr: main DasResetMode: 2 DasRemoveLogFile: n DasForwardSerNum: n DasSrvSel: -1 DasPortType: 0 DasPortSel: 0 DasCmdTimeout: 1000 DasWaitAfterConnect: 0
JTAG target infos: JTAG-ID: 0x00000000 UsedJtagClk: 0 MHz ExtVoltage: 0.0 V IntVoltageUsed: n STSTAT: 0x4A931274
DAS related information: DAS DLL Version: Server started by UDE: Server name: Server manufacturer: Server version: V1.0 DAS-API version: V0.0 Server lib version: V232.11 last DAS error: 512 last DAS function: get_das_servers
|
|