I'm trying to use usbWiggler to communicate with a board that has 4 ICs.

enter image description here

Through the usbWiggler API I have been trying to write and read from the board. However the CPU on the board is not one of the recognized CPUs and although the API giving the option to name it "UNKNOWN" the initialization of the API (through MacraigorApi_InitializeTarget()) fails with "Invalid Parameter" error. enter image description here

Dose anyone know how to fix this? I tried contacting their support but they never reply.

Edit 01

The CPU is Motorola 68hc11.

  • \$\begingroup\$ You are probably out of luck , usually at this point I start trying different inputs to see what works and what doesn't. If you have some example code, then run that and find out where yours doesn't work. Are you sure you've defined your array right? \$\endgroup\$ – Voltage Spike Aug 19 '16 at 20:24
  • 1
    \$\begingroup\$ There are several problems here: it is not clear what you mean by "initialize", you can't do much with a jtag target that you do not know or have not discovered details of, and you will not be able to get much help here when you neglect to even identify the CPU in question. \$\endgroup\$ – Chris Stratton Aug 19 '16 at 20:25
  • \$\begingroup\$ @laptop2d The array is right according to the API docs. But it seems it's a bug in their code that doesn't allow you to specify the CPU as "UNKNOWN" if it is the first in the chain. \$\endgroup\$ – M. A. Kishawy Aug 22 '16 at 13:24
  • \$\begingroup\$ @ChrisStratton I added info on the CPU. The thing is it's not one of the recognized CPUs according the the usbWiggler API. also regarding the "initialize" process, it seems it's only preparing the API to deal with the CPU. By the way my background on dealing with CPU on such low level is minimum, so please excuse my ignorance. \$\endgroup\$ – M. A. Kishawy Aug 22 '16 at 13:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.