Hello:
I am working on freescale FRDM-K64F board with Keil Microvision 5 IDE.
As I can have a fixed IP in the application apnt_271? Cheers
Carlos
hello carlos789,
First, welcome in the community,
As i can read in http://www.keil.com/appnotes/files/apnt_271.pdf
in the section "Integrate the HTTP Server" you may change or define PHY or MAC adress
I'm not sure, but i mean you can set there an IP adresse
I suggest you to search the correct information in : Creating a Network Application
if that was not the case, you can access the server using the ARP command to associate an IP address to the mac address of the server.
Regards
Hi Jerome:
To avoid confusion or changes in the code, copy the project's official website Keil again
http://www.keil.com/appnotes/docs/apnt_271.asp
When built target , get the following error:
*****************************************************************************************************************************
C:\Keil_v5\ARM\PACK\Keil\Kinetis_SDK_DFP\2.2.0\addon_cmsis\Driver\MK64F\SPI_MK64F.h(52): error: #35: #error directive: "SPI not configured in RTE_Device.h!"
#error "SPI not configured in RTE_Device.h!"
C:\Keil_v5\ARM\PACK\Keil\Kinetis_SDK_DFP\2.2.0\addon_cmsis\Driver\MK64F\SPI_MK64F.c: 0 warnings, 1 error
*******************************************************************************************************************************
I'm very confused Carlos
The post is older but i want to explain the solution who searches and faces this error.
You have to activate SPI driver for which spi module use in your application for your RTE device. So it can be doing manually or with using configuration wizard in KEIL.
When you are writing your code, you are in tex editor mode. Now open your RTE_Device.h file and change your mode from text editor to configuration wizard.
And you will see all communication protocols specific for your microcontroller. Go to SPIx (x is the number of SPI modules, it is depending on your application and design) and activated SPIx driver and assign your pins.
For example in your mcu if i didnt remember wrong MISO is PB4 and MOSI is PA7. then recompile your code. You wont get an error like this. Best Regards, Reşat Coşkun