SOLVED (I THINK)
Using Linux I was unable to download the MIOS32 Toolchain using the sudo wget command. ( I still can’t !)
However I downloaded the gcc-arm-none-eabi /etc / tar.bz2 file by clicking on the linux version on the midibox.org link. Using Archive manager in Linux Mint I uncompressed the file. Then I transferred to file to usr/local/ mios32_toolchain. I added the latter directory. This did not work either. Then I realised that the path to the appropriate bin file was interrupted by the “gcc-arm-none-eabi-4_7-2013q3” diirectory. This I removed.
After this I was able to compile and produce hex files.
I will raise a new post regarding the sudo wget command.
As mentioned previously I have damaged my core module and have decided to update to the STM Discovery.
My digital piano was revised last year and the program was based on TK’s example of the fast scan matrix. There a several changes due to the inclusion of the piano pedals and also an organ swell pedal for organ sounds.
I have made several changes to the app.c file on TK’s original
The make file refers to an error
E:\Mios32\trunk\apps\examples\fastscan_button_matrix_16x16>make
rm -f project.hex
Creating object file for app.c
app.c:1:0: error: bad value (cortex-m4) for -mcpu= switch
make: *** [project_build/app.o] Error 1
E:\Mios32\trunk\apps\examples\fastscan_button_matrix_16x16>
I have looked in the project build file and see only references to the STM F10 processor not the STM Discovery processor.
project_build/app.o: app.c e:/mios32/trunk/include/mios32/mios32.h \
e:/mios32/trunk/programming_models/traditional/stm32f10x_conf.h \
e:/mios32/trunk/drivers/STM32F10x/v3.3.0/STM32F10x_StdPeriph_Driver/inc/stm32f10x_adc.h \
e:/mios32/trunk/drivers/STM32F10x/v3.3.0/CMSIS/CM3/DeviceSupport/ST/STM32F10x/stm32f10x.h \
e:/mios32/trunk/drivers/STM32F10x/v3.3.0/CMSIS/CM3/CoreSupport/core_cm3.h \
e:/mios32/trunk/drivers/STM32F10x/v3.3.0/CMSIS/CM3/DeviceSupport/ST/STM32F10x/system_stm32f10x.h \
Is this the problem ?
Please help.
Robin
Later comment
I have tried the Tutorial 001 and again “make” gives the same error. I have checked and rechecked the environmental variables.