Unfortunately we do not accept new members for free, Now Registration cost 30€, if you are interesting Send Email to [email protected]

APIX2 on EVO HW2.3 ID5/ID6 script fix
05-04-2024, 00:39 AM, (This post was last modified: 09-04-2024, 23:14 PM by superwofy.)
Post: #1
APIX2 on EVO HW2.3 ID5/ID6 script fix
I wanted to share something I've been working on and possibly invite some discussion on the topic.

There's an issue on the Jacinto bootloader side that prevents APIX2 screens from working correctly on SPI/MII on EVO HW2.3 when flashed for ID5/6.

I have not been able to figure out exactly why. At first it appeared that the apix conf files are different and also the baud rate in spi1-apix2.cfg. I've played around with these extensively and was not able to pinpoint the issue to them - this is SPI that I am referring to.

I was not able to get MII to work and did not spend much time on it.


I knew from here https://www.cartechnology.co.uk/showthre...?tid=36297 that multiple resets in SPI+APIX2 work and started my work here.

I was able to determine that multiple resets with binary "apixconfig" of the screen when in the "NO SIGNAL" state would bring it back.


This can be replicated by running commands (usually multiple times):

PHP Code:
on -f hu-jacinto apixconfig -t 14 -w 2F 01
or
on -f hu-jacinto apixconfig -/etc/apix/hh-apix2-spi-long-out1.conf 



Coding values I use are:
PHP Code:
CID_APIX_MODE
apix2
CID_COLOR_DEPTH
24
CID_COM_MODE
spi
APIX_LENGTH_CID
long 



To make it somewhat permanent I wrote a shell script and baked into the existing "/bin/start_screen.sh" on OMAP. It tracks the status of the screen and resets only as needed. Too many resets and you end up with "NO SIGNAL" also.

It's by no means pretty but it does seem to work. I've still got to investigate if black screen happens. I believe it might and additional tracking should be added.

PHP Code:
mode_register=$(on -f hu-jacinto apixconfig -t 14 -r 2D)
apix_mode=$(echo "$mode_registertail -c 4)

if [[ 
"$apix_mode== "C0 " ]]; then                                                                  ## We're in APIX2 mode

  while true; do
      ashell2_register=$(on -f hu-jacinto apixconfig -t 14 -r 45)
      ashell2_status=$(echo "$ashell2_registertail -c 4)
      first_digit=$(echo "$ashell2_registersed 's/.*DATA: \([0-9]\).*/\1/')
    
      
if [[ $first_digit -eq 0 ]]; then                                                              ## e.g 04 or 07
        sleep 1.5
      elif 
[[ $first_digit -eq 1 ]]; then
        on 
-f hu-jacinto apixconfig -/etc/apix/hh-apix2-spi-long-out1.conf
        sleep 0.5
      
else
        sleep 0.5
      fi
    
      sleep 0.5
  done
fi 


I attached my modified "start_screen". Tested with HU 6829104 18-03 and CID 6822626. Obvious disclaimers about bricking things apply...
Would welcome feedback.


Attached Files
start_screen.sh.zip
File Type: .zip
Downloaded: 38 times
Size: 1.43 KB

Reputation: +13 - Mwahab [+1] , windinc [+1] , jaramillo [+1] , vikro2000 [+1] , Czozen [+1] , TheNine90 [+1] , mbm1703 [+1] , simzep [+1] , k.b.5082 [+1] , larshutten [+1] , laquangksxd [+1] , BusyBox [+1] , RReader [+1]
Quote this message in a reply
[+] 19 users say Thank You to superwofy for this post
08-04-2024, 10:12 AM,
Post: #2
RE: APIX2 on HW2.3 script
I also tested with the 23-07 I-level NBTevo_Y23236I.

APIX2+SPI works, same coding settings and start_screen.sh is identical.

I updated timings slightly in the first post. So far it works quite well. The reset only seems to be needed during startup. Sometimes it works instantly and there's no disruption. Other times the NO SIGNAL screen can be seen for a few seconds. This all being on the bench of course, in the car this should be invisible as the HU usually has time to boot before KLR.

Perhaps it would work better in an earlier script. start_screen.sh takes a few seconds after init before it runs.
Quote this message in a reply
[+] 2 users say Thank You to superwofy for this post
09-04-2024, 03:21 AM,
Post: #3
RE: APIX2 on HW2.3 script
Do you have a script to run an APIX1 screen on an Evo ID5/6 running latest software?
Quote this message in a reply
[+] 1 user says Thank You to bradsm87 for this post
09-04-2024, 23:13 PM,
Post: #4
RE: APIX2 on HW2.3 script
(09-04-2024, 03:21 AM)bradsm87 Wrote:  Do you have a script to run an APIX1 screen on an Evo ID5/6 running latest software?

I can only test with my HW2.3 unit but I assume others work too:

https://cartechnology.co.uk/showthread.php?tid=91183
Quote this message in a reply
[+] 1 user says Thank You to superwofy for this post
12-04-2024, 23:23 PM,
Post: #5
RE: APIX2 on HW2.3 script
(09-04-2024, 03:21 AM)bradsm87 Wrote:  Do you have a script to run an APIX1 screen on an Evo ID5/6 running latest software?

Interested me too

If this post helped you don't forget to press rep  yes and thanks  under
Quote this message in a reply


Possibly Related Threads…
Thread Author Replies Views Last Post
XZBMW BMW CIC USB SCRIPT ACTIVATOR intel123 91 48,284 18-07-2023, 14:00 PM
Last Post: NeRkO20
  Any way to get EVO with APIX2 from G to work with old APIX1 nbt cid? amigo74 76 22,309 06-05-2023, 19:05 PM
Last Post: mr_nitroz
  APIX1 & APIX2 how to spot the difference ? anstr 2 463 29-01-2023, 17:38 PM
Last Post: mateos
  nbt id4 no signal apix2 CodeDoc 3 475 30-10-2022, 18:56 PM
Last Post: CodeDoc
  Anyone have a set of esys plus script? tokenmasterhk 5 926 03-07-2022, 23:45 PM
Last Post: tokenmasterhk
XZBMW CIC Script Activation files needed AlpineF30 11 2,625 20-05-2022, 03:01 AM
Last Post: cb6688999
XZBMW Script or Utility to grab VIN? BlueMeetsWhite 4 874 07-04-2022, 15:36 PM
Last Post: BlueMeetsWhite
  1b script for CIC Pro ad-d 0 401 01-02-2022, 22:09 PM
Last Post: ad-d
XZBMW BMW CIC USB SCRIPT ACTIVATOR April-rs125 3 770 20-01-2022, 14:41 PM
Last Post: NeRkO20
  Normal NBT vs apix2 screen rickynguyen 6 936 09-10-2019, 19:21 PM
Last Post: BugFix

Forum Jump:


Users browsing this thread:
1 Guest(s)

Return to TopReturn to Content