Bug #5144
openENX + P42 regression
0%
Description
ENX > !create My_Device 0x0 0xff DRV_DEBUG
3191 INFO [main_task_0000000000B6DA20] ENX.Console - NO_RESULT
ENX > !list device
3208 INFO [main_task_0000000000B6DA20] ENX.Console - DEVICE list:
- My_Device
ENX >
ENX > MD My_Device 0x0
3337 INFO [main_task_0000000000B6DA20] ENX.Console - 0x00000000 -> 0x00
ENX > MM My_Device 0x0 0xfadadada
3360 INFO [main_task_0000000000B6DA20] ENX.Console - OK
ENX > MM My_Device 0x4 0xdeadbeaf
3372 INFO [main_task_0000000000B6DA20] ENX.Console - OK
ENX > MD My_Device 0x0
0xFADADADA< : Wrong kind of arguments.
Should be a number.
3376 ERROR [main_task_0000000000B6DA20] ENX.Console - Uncatched Exception. - P42.CONVERT.WRONG_TYPE - p42-convert-characters_2_numeric.adb:84
ENX > MD My_Device 0x4
0xDEADBEAF< : Wrong kind of arguments.
Should be a number.
3407 ERROR [main_task_0000000000B6DA20] ENX.Console - Uncatched Exception. - P42.CONVERT.WRONG_TYPE - p42-convert-characters_2_numeric.adb:84
Updated by Legay Eric about 11 years ago
- Status changed from New to Feedback
Seems to be solved with P42 upgrade
Updated by Grave Xavier about 11 years ago
- Assigned To set to Legay Eric
No more crash "but" the displayed value isn't the one expected
0xDADADAFA instead of 0xFADADADA
and 0xAFBEADDE instead of 0xDEADBEAF
not mention the french commentaries :)
ENX > MD My_Device 0x4
AAA GRRRRR #0x#
PUTAIN de valeur a la con : 00000004
AAA GRRRRR #0x#
PUTAIN de valeur a la con : DEADBEAF
AAA GRRRRR #0x#
PUTAIN de valeur a la con : DEADBEAF
85 INFO [main_task_0000000001807A20] ENX.Console - 0x00000004 -> 0xAFBEADDE
I have checked (with a small test case) :
P42.Convert.Numeric_2_Characters.Hexadecimal.Hexa_To_String : OK
P42.Convert.Numeric_2_Characters.Hexadecimal.To_Hexa : OK