bibi Posted September 14, 2012 Report Share Posted September 14, 2012 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 Quote Link to comment Share on other sites More sharing options...
TK. Posted September 16, 2012 Report Share Posted September 16, 2012 Could this be an artifact from a previous build for STM32? What happens if you enter "make clean" before compiling the whole project again? Best Regards, Thorsten. Quote Link to comment Share on other sites More sharing options...
bibi Posted September 17, 2012 Author Report Share Posted September 17, 2012 Hi Thorsten, and thanks for your care! Cleaning project gives me an "cleaning error". Does it mean something to you? Thanks for your help Best regards Bibi Quote Link to comment Share on other sites More sharing options...
TK. Posted September 17, 2012 Report Share Posted September 17, 2012 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. Quote Link to comment Share on other sites More sharing options...
bibi Posted September 19, 2012 Author Report Share Posted September 19, 2012 (edited) 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 September 19, 2012 by bibi Quote Link to comment Share on other sites More sharing options...
bibi Posted September 24, 2012 Author Report Share Posted September 24, 2012 Well, since I've reinstall CB, I've been able to load and change settings on differents mios applications, midio 128 include, I guess the fault was on my side.... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.