Jump to content

Hex file contains invalid range for mios32 lpc17


bibi
 Share

Recommended Posts

Hi Everyone!

Working codeblocks, I've successfully built the tutorials 001_midi_forward app, and uploaded it with mios studio 2.2.4 to my LPC17. :sweat:

Now I try to build the mios128 v3 application. Codeblocks tells the app is built for LPC processor but when I try to upload it to My LPC17, mios studio reads:

"STM32 Flash

Hex file contains invalid range for mios32 lpc17"

I'm sure it's a simple thing but don't know where to look at. If someone could help me...

Many thanks

Bibi

Here is the build log from codeblocks:

-------------- Build: Release in test midio128 ---------------

Using makefile: Makefile

-------------------------------------------------------------------------------

Application successfully built for:

Processor: LPC1769

Family: LPC17xx

Board: MBHP_CORE_LPC17

LCD: universal

-------------------------------------------------------------------------------

text data bss dec hex filename

136804 5944 33320 176068 2afc4 project_build/project.elf

Process terminated with status 0 (0 minutes, 12 seconds)

0 errors, 0 warnings

Link to comment
Share on other sites

No, "cleaning error" is new to me.

Are you trying this from codeblocks? I've no experiences with this IDE.

My proposal was to enter "make clean" in the command shell (of your operating system)

Alternatively just remove the "project_build" directory, this is what "make clean" actually is doing.

Best Regards, Thorsten.

Link to comment
Share on other sites

hello, and sorry for the delayed post. I've been experiencing some crashes with codeblocks, so I reinstalled the software and reconfigured it for mios...

"My proposal was to enter "make clean" in the command shell (of your operating system)" Oops...Sorry, I thought it was in codeblocks! In CB, there is a command to "clean" the project, I belive this is quite the same as a "make clean" command in the command shell...?

anyway, when I enter: "make clean" in the command shell (win XP SP3), it returns: "No rules to make target clean"

And with Codeblocks the Hex file was still compiled for a STM32 processor.

So I removed the "project_built" directory, and now I have LPC17 HEX file that I am able to load in the LPC processor. Cool!

However, the command shell still returns the same when I enter a "make clean" command, and Codeblocks gives me the same "cleaning" error. How is it bad? Can I go with it ?

Below, the build log :

-------------- Clean: Release in Test midio128 ---------------

Error cleaning "Test midio128 - Release"

-------------- Build: Release in Test midio128 ---------------

Using makefile: Makefile

-------------------------------------------------------------------------------

Application successfully built for:

Processor: LPC1769

Family: LPC17xx

Board: MBHP_CORE_LPC17

LCD: universal

-------------------------------------------------------------------------------

text data bss dec hex filename

129380 5680 44336 179396 2bcc4 project_build/project.elf

Process terminated with status 0 (0 minutes, 35 seconds)

0 errors, 0 warnings

Many thanks to you for your care

bibi

Edited by bibi
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...