View Single Post
Old 29-12-2019, 08:26 PM   #256
JasonACT
Away on leave
 
Join Date: Apr 2019
Location: ACT
Posts: 1,732
Tech Writer: Recognition for the technical writers of AFF - Issue reason: Outstanding work on the FG ICC issues. Technical Contributor: For members who share their technical expertise. - Issue reason: The insane amount of work he has put into the Falcon FG ICC is unbelievable. He has shared everything he has done and made a great deal of it available to us all. He has definitely helped a great deal of us with no personal gains to himself. 
Default Re: FORD technical service bulletin : ICC touch screen display

Today I trained myself in the QNX "dumper" program which has been kindly left on the ICC unit for me to use. With it, you can dump the memory of running programs and set it up to produce a core dump for failing programs. I got to compare the working media-player executable against my hacked one, which showed me how close I was to getting it working the other day

There are 7 large static buffers (all a multiple of 1000) of which I could directly see 4 of them being used when reading the music files. I had already enlarged them to be 10 times the size (making them support 10000 files instead of 1000). I had forgotten to make one extra change though - which I could see in the dumps, nice.

One of the buffers I changed is 1025000 bytes (about 1MB) and I had to relocate it (so there's 1MB wasted) and the exe takes up about 10MB extra RAM now.

It takes about 5 minutes to "load music files from USB".. No crashing, but sheesh, I didn't think it was working. Takes about the same time to get into the folder with lots of files too. The one with 1000 files wasn't so bad. I have two folders on my stick so I can move them around when I notice it replay the first song. I'm pretty sure that's a thing of the past now because the shuffle is now playing everything.

I hacked both the old firmware file (media-player) and the new one (I'm not sure I want to start hacking parts of the new firmware into the older units just at the moment). It also means I can post the difference and which ever file someone has, they can check the left bytes and if they match, change them to the right bytes

Old Firmware

000000A8: 2C B0
000000A9: A1 FB
000000AA: 10 B2
0001C284: FA 27
0001C285: 0F 0C
0001C2A8: FA 27
0001C2A9: 4F 4C
000275F8: FA 27
000275F9: 0F 0C
000277F8: FA 27
000277F9: CF CC
00027814: FA 27
00027815: 8F 8C
0002C62C: D8 00
0002C62D: 19 E8
0002C62E: 2A CB
0002C638: 98 80
0002C639: FA AF
0002C63A: 29 CA
000321E8: 98 80
000321E9: FA AF
000321EA: 29 CA
000321EC: AC 70
000321ED: 56 48
000321EE: 1A 2E
000321F0: E8 90
000321F1: A3 9F
000321F2: 0F 9D
0003221C: D8 00
0003221D: 19 E8
0003221E: 2A CB
00034A60: 40 C0
00034A61: AB 29
00034A62: 19 2A
00036F8C: 98 80
00036F8D: FA AF
00036F8E: 29 CA
00036F90: D8 00
00036F91: 19 E8
00036F92: 2A CB
0003B050: F4 04
0003B051: BA C6
0003B052: 19 2A
0003B124: F0 00
0003B125: BA C6
0003B126: 19 2A
0003B54C: FA 27
0003B54D: 0F 0C
0003C358: FA 27
0003C359: 4F 4C
0003C810: F4 04
0003C811: BA C6
0003C812: 19 2A
0003CB9C: FA 27
0003CB9D: 0F 0C
00054774: A0 00
00054775: 2C 37
00054776: 1A 2D
00069530: 70 20
00069531: 3E 85
00069532: 1A 2D
00081FBD: 31 39
00081FBE: 30 39
00081FBF: 30 38
00081FC0: 30 34
000995C4: A4 28
000995C5: 8C E7
000995C6: 10 B2

New Firmware

000000A8: 3C C0
000000A9: A1 FB
000000AA: 10 B2
0001C7CC: FA 27
0001C7CD: 0F 0C
0001C7E8: FA 27
0001C7E9: 4F 4C
00027F54: FA 27
00027F55: 0F 0C
00028154: FA 27
00028155: CF CC
00028170: FA 27
00028171: 8F 8C
0002CF88: 80 A8
0002CF89: 5B 29
0002CF8A: 2A CC
0002CF94: 40 28
0002CF95: 3C F1
0002CF96: 2A CA
00032B60: 40 28
00032B61: 3C F1
00032B62: 2A CA
00032B64: 54 18
00032B65: 98 8A
00032B66: 1A 2E
00032B68: E8 90
00032B69: A3 9F
00032B6A: 0F 9D
00032B94: 80 A8
00032B95: 5B 29
00032B96: 2A CC
000353DC: E8 68
000353DD: EC 6B
000353DE: 19 2A
000378FC: 40 28
000378FD: 3C F1
000378FE: 2A CA
00037900: 80 A8
00037901: 5B 29
00037902: 2A CC
0003B9C0: 9C AC
0003B9C1: FC 07
0003B9C2: 19 2B
0003BA94: 98 A8
0003BA95: FC 07
0003BA96: 19 2B
0003BEBC: FA 27
0003BEBD: 0F 0C
0003CCC8: FA 27
0003CCC9: 4F 4C
0003D180: 9C AC
0003D181: FC 07
0003D182: 19 2B
0003D50C: FA 27
0003D50D: 0F 0C
000558E8: 48 A8
000558E9: 6E 78
000558EA: 1A 2D
0006BEBC: 18 C8
0006BEBD: 80 C6
0006BEBE: 1A 2D
00084CDD: 31 39
00084CDE: 30 39
00084CDF: 30 38
00084CE0: 30 34
0009D76C: A4 28
0009D76D: 8C E7
0009D76E: 10 B2







You've never seen so many files in that middle picture!!

JasonACT is online now   Reply With Quote
2 users like this post: