Close
Page 5 of 5 FirstFirst ... 345
Results 41 to 44 of 44
  1. #41
    Senior Member FJR1300's Avatar
    Join Date
    Mar 2014
    Location
    FL
    Posts
    476
    Thanks Given
    227
    Thanked 314 Times in 149 Posts
    Nope, you're way above my pay grade in component level pc board theory!

    I take things apart all the time, definitely respect like minded tinkerers and modders.
    .

  2. #42
    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 05: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. #43
    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 09:47 AM.

  4. #44
    Senior Member radargeek's Avatar
    Join Date
    Jan 2014
    Location
    York, SC
    Posts
    525
    Thanks Given
    116
    Thanked 571 Times in 270 Posts
    Chances are only the ALP engineers who developed the thing knows what the on-board headers are used for. Probably for the initial flash of the bootloader/serial/encryption keys and maybe for QA testing as well (test all the functions of the board before it's shipped). It may also be used for diagnostic purposes if a defective unit is sent back for repair/refurbishment. Even if it is an ICSP header, it's possible and probable that AL uses their own pinout rather than the standard one PIC programmers use. It could just be a diagnostic serial port to allow a diagnostic computer to talk to the processors on the board.

    It's possible that the chips have bootloaders flashed on them even before they're installed on the board (I think Microchip offers this as a service for volume customers). They would still need serial #/encryption key info added if it's unique to each device. There's probably a computer at the factory programmed to do this, each time a board/CPU goes out it connects to the header, gives it a serial # and key, and prints the S/N stickers to put on the outside.

    There's another header on the board, near the USB port. It's 6 pads inline but without holes. It looks much like a standard PIC ICSP header. And it even appears that pin 3 is ground and pin 6 is unused.
    Last edited by radargeek; 01-23-2015 at 10:41 AM.
    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

Posting Permissions

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