Device programming - how data is formatted and transferred


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891

    Default Device programming - how data is formatted and transferred

    Hello,

    I want to understand how a program is loaded into a device via ICSP.

    I've read the AN910 but didn't find the answer to my questions (maybe it is there, but I can't understand it - let's be modest).

    My two questions are:

    a) since the target device is clocked by the programming device, is there any timing really requiered (with respect to the different sequences for the desired operation Read/Write/Verify)?

    b) is it the compiler that will correctly "format" or "map" the program according to the device's memory specification so that it can be just flushed into the PIC?
    Roger

  2. #2
    skimask's Avatar
    skimask Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by flotulopex View Post
    a) since the target device is clocked by the programming device, is there any timing really requiered (with respect to the different sequences for the desired operation Read/Write/Verify)?
    b) is it the compiler that will correctly "format" or "map" the program according to the device's memory specification so that it can be just flushed into the PIC?
    I'm not an expert in this area, but here's what I know:
    1 - Timings, as long as a programmer doesn't bust the minimum timings (i.e. clocking too fast), I don't think going too long is a problem. The programming spec's datasheet specifies these for the most part.
    2 - Formatting/Mapping - MPLAB handles this. After all, you don't NEED PBP to compile a program. You can write a program in straight assembly and MPLAB is able to generate the required code by itself.

  3. #3
    Join Date
    Aug 2006
    Location
    SWITZERLAND (french speaking)
    Posts
    891


    Did you find this post helpful? Yes | No

    Default

    Thanks skimask.

    I just noticed that I can control the programming speed in the WINPIC software (well, I assume it is so); so I'll do some testing.
    Roger

Similar Threads

  1. byte compression
    By Norbert in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 16th June 2007, 18:04

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

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