Dear B.M. ,
In my project, I am developing the cifx's driver in vxworks.
I've mapped cifx registers to PCI memory "0xFEBF0000" .
However,
"0xFEBF0000" can not be read by any means !
How can I read/write the DPM ?
yes, but can not read/write.
Additional, only one LED is on (yellow). I use the Cifx-104C-RE
Hilscher Gesellschaft fuer Systemautomation mbH
Hi houzenan,
Mh... only one yellow LED. Sounds not good for me. I do not know the cifX104, but normally the LED should be green or blinking. I would assume, that the software on the cifX is not running. Please check the manual for the LED status.
Regards
AJ
Thank you for your attention !
Today, I have found a bug of my code and fixed it.
Now, the register of Cifx is mapped to 0xFEBF0000~0xFEBFFFFF .
but problem comes again :
the content of 0xFEBF0000~0xFEBF0004 is 0xDD, 0x5A, 0x 87, 0x02. is not "n","e","t","X"(according to DPM manual).
and still, only one LED is on (yellow).
what's wrong?
Hilscher Gesellschaft fuer Systemautomation mbH
Hi,
as I already wrote. I am a little bit concerned about the LED status. Please check the manual what does this status means.
Regards
AJ
By refer to the manual, the LED status reflects that the romloader works well and wait for 2nd stage loader.
Now I am trying to download the "NXCIF50-RTE.bin" to my Cifx-104C-RE. ( right? )
Thank you A.J. !
However, after read CToolKit code, I can not understand the implmentation of
"static long cifXRunBootloader(PDEVICEINSTANCE ptDevInstance)".
my question is :
before the 2nd stage loader is downloaded, the DPM have not been built .
What mechanism is used to download the "NXCIF50-RTE.bin" ???
Hello houzenan,
after the PCI card is supplied with power, a 64 kbyte DPM is initialized. This DPM allows to download the 2nd Stage Loader. You dont need to understand how the 2nd Stage Loader is sent down, because this is already implemented cifx Driver Toolkit. The 2nd stage loader is independent of the final firmware.
The 2nd Stage Loader is like a "mini operating system". It allows the download the firmware (like EtherCAT or Profinet). Also this download process is implemented in the cifx Driver Toolkit. You just need to select the firmware file. Evt. one or two additional configuration files are downloaded afterwards. If everything is complete, the firmware is started.
Andreas Jacob
Hilscher Gesellschaft fuer Systemautomation mbH
Hi houzenan,
are you sure, that "0xFEBF0000" is the right address where the netX DPM is mapped?!
Regards
AJ