Close
Results 1 to 10 of 44

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Junior Member orwellophile's Avatar
    Join Date
    Dec 2014
    Posts
    19
    Thanks Given
    1
    Thanked 6 Times in 6 Posts
    Quote Originally Posted by FJR1300 View Post
    Yeah, just thought it was funny/ironic, not that it meant -ipt.
    I got it. But only after 30 seconds of deciding whether or not you were an uber-expert. (Sorry, I had to vote negative)

    And I also can't see the thread – if pulling a brand new ALP apart can't get you some respect in the secret forums where other people pull things apart, I just don't know what will. Possibly putting them back together, but I can't find the top anymore.

  2. #2
    Senior Member radargeek's Avatar
    Join Date
    Jan 2014
    Location
    York, SC
    Posts
    525
    Thanks Given
    116
    Thanked 571 Times in 270 Posts
    Quote Originally Posted by orwellophile View Post
    yeah, there's a whopper. 8 megabyte of flash. and i would agree about chip functions. the usb capable chip is probably also doing the AesDecode() that enables everyone's firmware to be unique, it's also capable of secure aes booting, running code from ram (not that i've noticed any), and other fun things. there's an ISCP header on the left (i say that, knowing full well that PIC doesn't use ISCP) if you want to try bricking yours. there's also a green led on either side of the board that flashes nicely (as in, not too brightly).
    Actually PIC does use ICSP. And the higher end ones support JTAG as well. But it's more likely than not that AL uses the on-chip protection features to make it next to impossible to read the firmware off the chip itself. They probably use the ICSP header to flash the bootloader, and possibly the initial firmware, onto the chips during assembly.
    still, i am left wondering, if there's only 256 + 128 = 384k of flash, why are our U0000000.bin files 460K?
    Maybe there's data tables or loadable code that gets put into the serial flash?
    Quote Originally Posted by orwellophile View Post
    And I also can't see the thread – if pulling a brand new ALP apart can't get you some respect in the secret forums where other people pull things apart, I just don't know what will. Possibly putting them back together, but I can't find the top anymore.
    LOL... hope you can find the top! Just keep participating here and you'll be promoted soon enough.
    Last edited by radargeek; 01-10-2015 at 04:17 PM.
    If I passed you on the right, YOU are in the wrong lane!

    2016 Encounters/Saves (to date): 33.8: 1/1 (last 4/13) | 34.7: 1/1 (last 3/11) | 35.5: 19/11 (last 8/28) | K: 1/1 (last 6/26)
    2015 Encounters/Saves: 33.8: 1/0 | 34.7: 13/4 | 35.5: 19/10 | K: 4/1 | LIDAR (sighted/hit with/save): 4/1/1

    ACTIVE CMs: Redline X, K, Ka 2,4,5,8 (highway/long trip RD) | New! V1C 3.8945 K, Ka CS, TMF2 w/YaV1 (in-town RD) | ALP Quad | BlackVue DR650GW-2CH

  3. #3
    Junior Member orwellophile's Avatar
    Join Date
    Dec 2014
    Posts
    19
    Thanks Given
    1
    Thanked 6 Times in 6 Posts
    Quote Originally Posted by radargeek View Post
    Actually PIC does use ICSP. And the higher end ones support JTAG as well. But it's more likely than not that AL uses the on-chip protection features to make it next to impossible to read the firmware off the chip itself. They probably use the ICSP header to flash the bootloader, and possibly the initial firmware, onto the chips during assembly.
    I didn't make a note of what firmware mine came with, but they would (at a minimum) be programming in the serial number (and associated decryption key) at final assembly, otherwise the sticker wouldn't match.

    I confess I was not aware any PIC used ICSP, (consulting wikipedia), ahh... my error is one of AVR arrogance, the pic of course support "In Circuit System Programming", but not necessarily with the same pins, protocol (or voltages) that any of my many AVR programmers would be used to.

    It was the 6 pin AVR ICSP header, I traced a couple of lines, and kind of assumed. Lets do it properly:




    Hmmm... pin 4 is not connected. pin 4 would be required for the programmer to send data regardless, assuming standard pinouts for pic or avr.

    (shrug) as you say, there'd be nothing good to get. even the flash memory chip has a secure 256 byte area. speaking of which, if it stored the lookup tables in flash, they'd be mighty slow to use. maybe the extra space in the .BIN is for a copy of the "upgrade loader" or somesuch.


    Maybe there's data tables or loadable code that gets put into the serial flash?LOL... hope you can find the top! Just keep participating here and you'll be promoted soon enough.
    Oh, *facepalm*, maybe the ISCP header is to send data *TO* something. Can't imagine what, serial port would be most obvious – but don't need that many pins. some kind of LCD display perhaps. mystery.
    Last edited by orwellophile; 01-23-2015 at 08:47 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •