Jump to content

Recommended Posts

Posted

Hi,

I'm trying to upload MB SEQV4L app (version 058) onto the LPC17 board, but I get the following error message:

ERROR: in line 4098: address 0x000000aa already allocated!

As far as I can tell, the MIOS32 bootloader is up and running (3 led flashes), and MIOS studio recognises it as well. I don't know if it might have something to do with it that I tried uploading a non-hex file (i.e. a text file named as project.hex) in connection with the Midibox sample player user project as a means to circumvent the need to learn how to use svn to download the sample project hex file.

I also tried - just to try something - to re-flash MIOS32 bootloader with LPCxpress, but that doesn't work either: the program tells me there is no board available. I have already separated the board into two, the successful bootloader flash with LPCxpress was when the board was still in one piece. Since I cut it in two the first thing I tried uploading was the text "hex" file with MIOS studio, which didn't work, and since then I haven't been successful in uploading/flashing anything on the board. However, the led flash and MIOS studio would seem to suggest that the bootloader is up and running.

Posted

Hi,

I'm trying to upload MB SEQV4L app (version 058) onto the LPC17 board, but I get the following error message:

ERROR: in line 4098: address 0x000000aa already allocated!

As far as I can tell, the MIOS32 bootloader is up and running (3 led flashes), and MIOS studio recognises it as well. I don't know if it might have something to do with it that I tried uploading a non-hex file (i.e. a text file named as project.hex) in connection with the Midibox sample player user project as a means to circumvent the need to learn how to use svn to download the sample project hex file.

I also tried - just to try something - to re-flash MIOS32 bootloader with LPCxpress, but that doesn't work either: the program tells me there is no board available. I have already separated the board into two, the successful bootloader flash with LPCxpress was when the board was still in one piece. Since I cut it in two the first thing I tried uploading was the text "hex" file with MIOS studio, which didn't work, and since then I haven't been successful in uploading/flashing anything on the board. However, the led flash and MIOS studio would seem to suggest that the bootloader is up and running.

You need to upload the application via either MIDI or the USB port on the MB_CORE_LPC17 board, so not via the usb on the LPCEXPRESSO board.

Posted

Hi,

sorry I wasn't clear enough, I did try to upload the app with MIOS studio via MIDI, and it was then that I got the error message I mentioned. The LPCxpresso or the separated link part of the board wasn't involved, but instead the LPC board proper was attached to the core module while trying to upload the app with MIOS studio via MIDI. It was only when I tried to reflash the MIOS32 bootloader that I used the LPCxpresso and the link board, but found that that didn't work either.

Posted

This seems to be unrelated to the hardware.

The error message indicates, that something is wrong with the .hex file

Could you please download the release from my webpage again, and could you please also try it with the latest MIOS Studio version?

Best Regards, Thorsten.

Posted

This seems to be unrelated to the hardware.

The error message indicates, that something is wrong with the .hex file

Could you please download the release from my webpage again, and could you please also try it with the latest MIOS Studio version?

Ealier I was using MIOS studio 2.1, now I tried the upload with version 2.3.0, this time there was no error message as before. But there was another problem, maybe this time it's on the hardware side, and probably something I have to try to fix.

Query gives me this:

Operating System: MIOS32

Board: MBHP_CORE_LPC17

Core Family: LPC17xx

Chip ID: 0x26113f37

Serial: #21802121DAD04535CAB169D42000005F

Flash Memory Size: 524288 bytes

RAM Size: 65536 bytes

Bootloader 1.008

© 2009 T.Klose

This seems it's working ok. When I try to upload the hex, I get this:

Reading project.hex

Trying to contact the core...

project.hex contains 203964 bytes (797 blocks).

Range 0x00000000-0x00003fff (16384 bytes) - BL excluded

Range 0x00004000-0x00031cff (187648 bytes) - LPC17 Flash

No response from core after 16 retries!

The led on the LPC1769 is pulsating while contact is attempted, and keep on pulsating after attempts are terminated. On the left hand window of MIOS studio the text "Upload in progress" changes into the message quoted above ("Board: MBHP_CORE_LPC17" etc), but the led pulse keeps going.

I searched the forums for "response from core after retries!", there was one result, in which the problem was found in the resistor networks, which had been accidentally switched. I couldn't find the needed part in elfa.se (where I usually get my parts), so I made a network out of four 1kOhm and 10kOhm resistors. If I understood correctly, the one end of each resistor goes to a hole of their own, and the other ends are connected together in the common pin which, if you look at the core from the side of the MIDI connectors, is on the left side (pic attached).

post-8505-0-04133200-1347903045_thumb.jp

Posted

Your alternative resistor network should work (and doesn't influence the upload).

The failing upload is strange.

It works at my side under Windows (without special driver) and MacOS.

Not tested under Linux, but I guess that you don't use Linux anyhow...

You are using USB, right?

Could you try it with the Korg USB Driver? See

Best Regards, Thorsten.

Posted

Your alternative resistor network should work (and doesn't influence the upload).

The failing upload is strange.

It works at my side under Windows (without special driver) and MacOS.

Not tested under Linux, but I guess that you don't use Linux anyhow...

You are using USB, right?

Could you try it with the Korg USB Driver? See

I'm using Ubuntu Linux 12.04, and trying to upload via a USB-MIDI connection. I can try it on a Windows PC too later this week.

Posted (edited)

I tried uploading the MBSEQ4L hex onto the LPC board in my Windows virtual machine, and for some reason it succeeded.

Now the question is whether I'll have to build an MBSEQ4L before I can get around to teaching myself how to download the Sample Player hex via svn :)

Edited by jjonas

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...
×
×
  • Create New...