Jump to content

LPC1769 - USB power issue during programming


janvanvolt
 Share

Recommended Posts

Hi,

i successfully separated both halves after uploading the bootloader.

Then i was trying to upload the sequencer software (v4l) with the mios application. During the upload i had a "USB power too much draw" issue (seems a "not good" cable), however after changing the cable i still can't upload.

with the LPC-Link i get "target marked as not debuggable".

Can you shed some light on how i get the unit to a working state ?

Programmer says:

"Ed:02: Failed on connect: Ep(01). Target marked as not debuggable.

Et: Emu(0): Connected. Was: None. DpID: EDB6. Info: T1S6RGRIA"

Edited by janvanvolt
Link to comment
Share on other sites

Hi Jan,

sorry for this post. i have a question .

i uploaded the bootloader and the firmware seems to be installed.

I see on the left side of Mios studio that there is a mios 32 and he reads out the information of the 1769.

and he shows that there is the actual V4L firmware.

But he wrote that there is no SD card. i think there i have soldered the card reader in a wrong way.

But when i plug it off and restart the V4L the first 8 LED´s make a night rider flash.

after that there a 4 LED´s on and when i pus one button the is a stange led sequence.

Do you have an idea what ive done wrong ?

i don´t know whow to debug, if you have an idea it will be fine!

Link to comment
Share on other sites

These are two different issue, and since CIT already explained his case in another posting, I will only answer Jan's question here.

It seems that your PC can't supply the MBSEQV4L, you will need a USB hub with external power supply to get it working properly.

Even if programming worked in BSL hold mode, it can't be excluded that the firmware execution during runtime will be unpredictable.

E.g. it could crash once you are trying to store a pattern on SD Card - just as one of many possible "strange effects".

If you don't own a USB hub (yet), you could also power the MBHP_CORE_LPC17 module from a PSU via J1

Don't forget to remove jumper J17 ("USB Power") in this configuration!

Another important hint: once you've uploaded the MIOS32 bootloader, you've to remove the LPC Link, or for the case it hasn't been separated from the "target board", you've to cut the 3.3V line like shown here:

mbhp_core_lpc17_prepare_withlink.jpg

And another hint (for the case it isn't obvious): as long as the 3.3v line is disconnected, the LPC Link won't be able to program he target board - but you won't need this anymore... instead you will upload the application via MIOS Studio.

Best Regards, Thorsten.

Link to comment
Share on other sites

TK: Thanks for the notes. I have a "wonky" USB jack, which does seem to behave strangely (e.g. causing a short) when the cable is put in a certain way. My issue was that in the middle of the upload the power got lost, so i had a "crashed" application.

I read thru the docs and J27 is helpful, as it stays in the MiosBoot mode, so i was able to re-upload the code.

What i am wondering is that i can't access the LPC via the link module ( given the above error) when it's reconnected via a female adapter, it just drops those errors out.

But now it's fine with MIOS studio and application (seems) running; need to finish the V4l board first.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...