cancel
Showing results for 
Search instead for 
Did you mean: 

CubeProgrammer_API.dll and other environment like windev

FDarr.1
Associate II

I try to implement the use of the CubeProgrammer_API.dll in wendev, and it's clearly not design for...

1) problem, is struct size, du to alignment... this can be solve using some dummy byte(s)...

Main problem not solve at the moment is the call of "readMemory", "writeMemory" who cause a crash when I calling the function in the dll...

When I try to read 64 Bytes at the address 0x08000000 I have this information in the display callback:

callBack to : DisplayMessage msgType = 0 str = UPLOADING ...
callBack to : DisplayMessage msgType = 0 str = Size          : 64 Bytes
callBack to : DisplayMessage msgType = 0 str = Address       : 0x8000000
callBack to : DisplayMessage msgType = 0 str = Read progress:
callBack to : InitPBar
callBack to : DisplayMessage msgType = 7 str = Reading data...
callBack to : DisplayMessage msgType = 8 str = r ap 0 @0x08000000 0x00000040 bytes Data 0x000000FF
callBack to : lBar  currProgress = 136 total = 64

After that the call of the dll crash end no return address for the data read...?

If some body have an Idea :smiling_face_with_smiling_eyes:

Thx.

0 REPLIES 0