<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>8-bit MicrocontrollersのトピックMC9S08JM  USB,  HID with PE.</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184138#M13636</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have recently switched to exclusive use of Freescale parts, mostly due to the Codewarrior and Processor Expert toolset.&amp;nbsp; The 9S08JM parts arrived on the scene at exactly the right time for my current projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, in attempting to integrate the CMX USB code into my projects, I keep hitting snags.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In a perfect world, there would be a HID bean in PE,&amp;nbsp;&amp;nbsp; their serial port beans have worked well for me and integrate into the projects without issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can one of the USB+JM gurus on the board (Jim Don,&amp;nbsp; Nik, bitwork) help me a little with getting the CMX stuff to work?&amp;nbsp; The example code is full of conditional configurations which makes it a pain to sift thru to find what I need to change.&amp;nbsp; The code is expection a bit of file-structure and sub-directory arrangement that I keep stumbling over.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would really like to use HID, as it is "driverless",&amp;nbsp; CDC would be the next choice as it only needs an INF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone boiled the code down to a couple files that can be added to a PE proiject?&amp;nbsp; I am continuing to spin my wheels here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks guys,&amp;nbsp; there have to be a ton of people with the same problems,&amp;nbsp; so any hints posted will help the masses.&amp;nbsp; A good example is the mini-ram versions of the flashing routines (thanks Jim) that have helped countless folks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob Bailey&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 06 Sep 2008 06:01:58 GMT</pubDate>
    <dc:creator>TurboBob</dc:creator>
    <dc:date>2008-09-06T06:01:58Z</dc:date>
    <item>
      <title>MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184138#M13636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have recently switched to exclusive use of Freescale parts, mostly due to the Codewarrior and Processor Expert toolset.&amp;nbsp; The 9S08JM parts arrived on the scene at exactly the right time for my current projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, in attempting to integrate the CMX USB code into my projects, I keep hitting snags.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In a perfect world, there would be a HID bean in PE,&amp;nbsp;&amp;nbsp; their serial port beans have worked well for me and integrate into the projects without issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can one of the USB+JM gurus on the board (Jim Don,&amp;nbsp; Nik, bitwork) help me a little with getting the CMX stuff to work?&amp;nbsp; The example code is full of conditional configurations which makes it a pain to sift thru to find what I need to change.&amp;nbsp; The code is expection a bit of file-structure and sub-directory arrangement that I keep stumbling over.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would really like to use HID, as it is "driverless",&amp;nbsp; CDC would be the next choice as it only needs an INF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Has anyone boiled the code down to a couple files that can be added to a PE proiject?&amp;nbsp; I am continuing to spin my wheels here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks guys,&amp;nbsp; there have to be a ton of people with the same problems,&amp;nbsp; so any hints posted will help the masses.&amp;nbsp; A good example is the mini-ram versions of the flashing routines (thanks Jim) that have helped countless folks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob Bailey&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 06:01:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184138#M13636</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2008-09-06T06:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184139#M13637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Ok,&amp;nbsp; I managed to integrate it with my processor expert project.&amp;nbsp; It was a bit of a fight but now it compiles and the PC recognizes the device.&lt;BR /&gt;&lt;BR /&gt;There are some other errors going on, as it doesn't seem to be sending data to the PC.&lt;BR /&gt;&lt;BR /&gt;Any suggestions are appreciated,&amp;nbsp; I will post my progress.&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2008 13:17:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184139#M13637</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2008-09-06T13:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184140#M13638</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Ok,&amp;nbsp; I have it sending data to the PC (HID monitor program)&lt;BR /&gt;&lt;BR /&gt;But,&amp;nbsp; it seems that its taking a huge chunk of processor time to handle the transaction.&amp;nbsp; Is this typical?&lt;BR /&gt;&lt;BR /&gt;I am trying to send 32 bytes at 10hz.&amp;nbsp; it seems like the hid_process() call is taking a ton of time.&lt;BR /&gt;&lt;BR /&gt;Any feedback guys?&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2008 11:18:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184140#M13638</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2008-09-07T11:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184141#M13639</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;A quick summary of the files required to get this to play nice in PE:&lt;BR /&gt;&lt;BR /&gt;drag the USB-DRV folder into the files pane&lt;BR /&gt;&lt;BR /&gt;into the user modules folder in the files pane I dragged:&lt;BR /&gt;hid_usb_config.h&lt;BR /&gt;hid.c&lt;BR /&gt;hid.h&lt;BR /&gt;hid_usb_config.c&lt;BR /&gt;target.c&lt;BR /&gt;&lt;BR /&gt;There is the issue of PE wanting to generate the isr vectors.&amp;nbsp; I used an interrupt vector bean to create a USB vector to usb_it_handler.&amp;nbsp; there is still a clash when running the bdm loader, but it works.&amp;nbsp; (vector is defined twice)&lt;BR /&gt;&lt;BR /&gt;I edited the following&lt;BR /&gt;hid_usb_config.h:&amp;nbsp;&amp;nbsp;&amp;nbsp; EP0_PACKET_SIZE&lt;BR /&gt;hid.c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAX_REPORT_LENGTH&lt;BR /&gt;hid_usb_config.c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; the descriptors and message length stuff&lt;BR /&gt;target.c&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i put this in for the interupt enable and disable functions.&lt;BR /&gt;&lt;BR /&gt;I configured the CPU bean for the proper clock settings&lt;BR /&gt;&lt;BR /&gt;in my application I put the following calls in for initialization&lt;BR /&gt;usb_cfg_init()&lt;BR /&gt;set_mode(dm_generic)&lt;BR /&gt;HID_init(500,0)&lt;BR /&gt;&lt;BR /&gt;out_report = hid_add_report(rpt_out,0,1)&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;in_report = hid_add_report(rpt_in,0,32)&lt;BR /&gt;&lt;BR /&gt;in my main endless loop I put:&lt;BR /&gt;hid_process()&lt;BR /&gt;&lt;BR /&gt;in a 100ms task I put the report loader&lt;BR /&gt;if(!hid_report_pending(in_report)&lt;BR /&gt;{&lt;BR /&gt;...... fill up bytes in array USB_Report_In[32]&lt;BR /&gt;&lt;BR /&gt;hid_write_report(in_report,USB_Report_In);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;the above are the basics as I remember them......&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bob&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2008 11:37:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184141#M13639</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2008-09-07T11:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184142#M13640</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;In the hcc_u8 geh_config_descriptor, the USB_FILL_EP_DESC, the last value should be 1 for a 1 ms poll time.&lt;BR /&gt;&lt;BR /&gt;It could take up to 2 ms to process, but if you are on a high speed bus you should get a 1 ms time. Note that long or poor quality cables can also increase this time due to retries. Other activity should be interrupt driven.&lt;BR /&gt;&lt;BR /&gt;It is also possible that you could have hid_process() not wait for the packet to go and then wait when you need to send the next packet.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2008 23:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184142#M13640</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-09-07T23:05:54Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184143#M13641</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;The poll time change made a major improvement.&lt;BR /&gt;&lt;BR /&gt;I think, however, that your second suggestion is important as well, as this device's main function is not USB.&amp;nbsp; USB is for control and datalogging.&amp;nbsp; I don't want it waiting for the packet to go.&lt;BR /&gt;&lt;BR /&gt;In hid_process() would you change the while loop to something else?&amp;nbsp; Or should I set a status bit that the packet is pending and clear it after the packet goes?&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2008 23:31:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184143#M13641</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2008-09-07T23:31:37Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184144#M13642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;On your other suggestion,&amp;nbsp; all of the tasks are interrupt driven, but since the 08 has only one interupt level, I can't perform any long tasks in the ISR.&amp;nbsp; These are done in the main,&amp;nbsp; and long delays prevent the real time control tasks from completing on time.....&lt;BR /&gt;&lt;BR /&gt;At any rate, things are looking good,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2008 23:35:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184144#M13642</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2008-09-07T23:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184145#M13643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I have not tried any of this, but my idea is that you would do the USB send then not do the 'while' until the next time you wanted to send data, the idea being that perhaps the data has already been picked up by the time you get back.. This may or may not be helpful.&lt;BR /&gt;&lt;BR /&gt;Also, going up to 64 byte packets could be helpful, as it takes just as long to send 64 as 32 from your point of view. If you make the changes, make sure you force the entire project to rebuild. For some reason CW does not always do this correctly.&lt;BR /&gt;There are several places you need to change the packet size.&lt;BR /&gt;&lt;BR /&gt;What I do is acquire data on an interrupt thread into buffers, then send them from the foreground. I don't think that the USB interrupt should take long, it does not seem to affect me, but then I am running on a V2 at 80MHz that has DMA. Still, I think there are dedicated buffers on the 08.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 01:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184145#M13643</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-09-08T01:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184146#M13644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Good info,&amp;nbsp; I think I can get it all to work.&lt;BR /&gt;&lt;BR /&gt;I have moved up to 64 byte packets.&lt;BR /&gt;&lt;BR /&gt;It seems the send takes about 4ms,&amp;nbsp; for now its not impacting things too much.&lt;BR /&gt;&lt;BR /&gt;I think I have a handle on how to re-configure the hid_process() function.&amp;nbsp; A case specific solution looks pretty straightforward.&amp;nbsp; A general case solution is a little more involved to handle the situations of multiple IN reports.&lt;BR /&gt;&lt;BR /&gt;I will post my findings.&lt;BR /&gt;&lt;BR /&gt;Thanks for all your help!&amp;nbsp; HID bootloader is next....!&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 01:49:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184146#M13644</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2008-09-08T01:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184147#M13645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Another question,&amp;nbsp; now that I have it working I noticed that 2 entries appear in the list of Device Manager,&amp;nbsp; and when I plugged it into my other computer to see if Windows would find it it seemed like it found both my device and a HID (2 notification balloons popped up from the system tray).&lt;BR /&gt;&lt;BR /&gt;Is this normal?&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2008 12:21:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184147#M13645</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2008-09-08T12:21:23Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184148#M13646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Bob,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm glad that you got this worked out.&amp;nbsp; Don is the guru here, I'm afraid that my advice would just add confusion.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Don:&lt;/DIV&gt;&lt;DIV&gt;We are just now stuffing our prototype board.&amp;nbsp; It won'thave the P&amp;amp;E BDM module that's included on the DEMOJM.&amp;nbsp; Will the USBSPYDER08 work?&amp;nbsp;&amp;nbsp;I see that it says: "The USBSPYDER08 supports RS08KA, S08QD and S08QG microcontroller families.."&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;-&lt;/DIV&gt;&lt;DIV&gt;Robert&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 06:45:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184148#M13646</guid>
      <dc:creator>Nik</dc:creator>
      <dc:date>2008-09-09T06:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184149#M13647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Well, if you mean me, I'm not sure I deserve guru...&lt;BR /&gt;&lt;BR /&gt;In any event, I don't know the answer to that for sure.&lt;BR /&gt;My experience with the Spyder was not so great. For one thing it is very slow, and there is virtually no support for it, in terms of other chips. If it does not say that it does support the chip, (which it doesn't) then don't expect it to.&lt;BR /&gt;&lt;BR /&gt;If you do have a demojm, that will function as a full P&amp;amp;E BDM.&lt;BR /&gt;Just remove the daughter card, solder in a 6-in head and get 6-pin flat cable.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 07:36:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184149#M13647</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-09-09T07:36:27Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184150#M13648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks Jim,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;That's a good idea about using the DEMOJM.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;-&lt;/DIV&gt;&lt;DIV&gt;Robert&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 09:08:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184150#M13648</guid>
      <dc:creator>Nik</dc:creator>
      <dc:date>2008-09-09T09:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184151#M13649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Also,&lt;/DIV&gt;&lt;DIV&gt;We are 9S08JM60 in a development product which might have to ship with a programmer.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Or we'll have to recommend one.&amp;nbsp; So&amp;nbsp;it looks like the&amp;nbsp;USBMULTILINKBDME may be the one.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This isn't a Freescale product, but has the 9S08JM60 on it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;-&lt;/DIV&gt;&lt;DIV&gt;Robert&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by Nik on &lt;SPAN class="date_text"&gt;2008-09-09&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;04:30 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 22:30:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184151#M13649</guid>
      <dc:creator>Nik</dc:creator>
      <dc:date>2008-09-09T22:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184152#M13650</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BR /&gt;What you want is a &lt;A href="http://www.pemicro.com/products/product_viewDetails.cfm?product_id=33&amp;amp;CFID=2131355&amp;amp;CFTOKEN=89878079" rel="nofollow" target="_blank"&gt;http://www.pemicro.com/products/product_viewDetails.cfm?product_id=33&amp;amp;CFID=2131355&amp;amp;CFTOKEN=89878079" rel="nofollow" target="_blank&lt;/A&gt;&lt;SPAN class="font_basic_bold_gray"&gt;&lt;A href="http://www.pemicro.com/products/product_viewDetails.cfm?product_id=33&amp;amp;CFID=2131355&amp;amp;CFTOKEN=89878079" rel="nofollow" target="_blank"&gt;USB-ML-12&lt;/A&gt; from P&amp;amp;E Micro.&lt;BR /&gt;I would buy them directly from P&amp;amp;E.&lt;BR /&gt;&lt;BR /&gt;That is an FSL part number, but you will get it for a few dollar less if you buy it from P&amp;amp;E.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 22:44:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184152#M13650</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-09-09T22:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184153#M13651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;What we really need now is the HID bootloader......&amp;nbsp; &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I think I know enough to make a stab at it,&amp;nbsp; I am trying to decide whether to make reflashing part of my application, or a separate project like AN2295.&amp;nbsp; Processor Expert is going to add additional complication.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;My current struggle is that if the vectors are redirected, then we will be replacing the USB interupt vector when we reflash the software..&amp;nbsp; So we can't use it during the bootload process......&amp;nbsp; I have not figured out how the other USB bootloader app notes get around this.&amp;nbsp; Perhaps the bootloader USB routine can poll the interupt flag fast enough to work.&amp;nbsp; Can the vector redirection be turned on and off?&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Bob&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by TurboBob on &lt;SPAN class="date_text"&gt;2008-09-09&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;12:01 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2008 23:00:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184153#M13651</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2008-09-09T23:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184154#M13652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Well you will always have a problem when it comes to re flashing the boot loader code.&lt;BR /&gt;You basically have to cache it and do it all at once.&lt;BR /&gt;&lt;BR /&gt;As for vectors, there are several ways this has been handled.&lt;BR /&gt;1. Transparently redirect vectors. When the "user" wants to flash a vector, you put it else where then have code that jumps there at interrupt time.&lt;BR /&gt;&lt;BR /&gt;2. Recognize that the vector table is about the be re flashed, and pause the download until this is done. If the usb device goes off line, then you may need to restart things. Good pc code can handle a dis-connect re-connect. Also, you protect your vectors and always make sure they go back to where you need them to be.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 18:25:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184154#M13652</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-09-10T18:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184155#M13653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Ok,&amp;nbsp; I understand about replacing the bootloader code.&amp;nbsp; I'm not planning on doing that.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Correct me if I am wrong,&amp;nbsp; but if we relocate the vectors using the HCS08 internal mechanism, then all of the interupt vectors move to below the protected flash.&amp;nbsp; So if our bootloader is e800 - FFFF (roughly) then all of the vectors are at ~E7F0, including the USB vector.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So, like the method in AN2295, we can use the PC loader program to handle the vectors and make sure they are written to their new spot if necessary, but when we are almost completely re-flashed, the last block to be received will contain the vectors,&amp;nbsp; including the USB vector currently being used to receive the data.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I suppose we could download to RAM a full sector, then pause the USB, jump to RAM, erase the segment, program/verify, then resume.&amp;nbsp; Tricky but do-able.&amp;nbsp; I just need to make it unbreakable.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Bob&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What is your feeling on building in the bootload function vs. making it a separate project?&amp;nbsp; By making it built in, we can assure that the VID/PID are the same so there is no DEVICECHANGE when switching over to bootloader mode.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 20:20:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184155#M13653</guid>
      <dc:creator>TurboBob</dc:creator>
      <dc:date>2008-09-10T20:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184156#M13654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I don't know that there is anything that guarantees when you will see the vector code, so you may have to snoop for it.&lt;BR /&gt;&lt;BR /&gt;It would not be a bad idea to have a linkable boot loader module.&lt;BR /&gt;On the other hand a special vid/pid for a boot load app might be good too.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 21:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184156#M13654</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-09-10T21:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: MC9S08JM  USB,  HID with PE.</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184157#M13655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Dears,&lt;BR /&gt;&lt;BR /&gt;there's USB AN2295 bootloader made for HC908JW32. It exists for few years already as a part of AN2295SW source tree. Written in C. Works.&lt;BR /&gt;&lt;BR /&gt;True, you need to handle reflashing the interrupt vector tables, in JW32 case there are actually three tables:&lt;BR /&gt;&lt;BR /&gt;#1 &lt;FONT face="Courier New"&gt;[boot_table]&lt;/FONT&gt; First vector table is the "working" one, i.e. here the original ones are redirected to.&lt;BR /&gt;#2 &lt;FONT face="Courier New"&gt;[bl_boot_table]&lt;/FONT&gt; Second, the bootloader's one - the complete table gets copied (flashed) to #1 BEFORE USB Bootloader starts its USB activity.&lt;BR /&gt;#3 &lt;FONT face="Courier New"&gt;[usr_boot_table]&lt;/FONT&gt;Third one, here the user interrupt vectors will be put (relocated &amp;amp; flashed) during the bootloading. After the bootloader is finished (and all USB activites are stopped), these fresh user vectors will get copied (flashed) to space #1 and the user code will start.&lt;BR /&gt;&lt;BR /&gt;Since this is all included in the AN2295SW source tree, you can inspire in there.&lt;BR /&gt;&lt;BR /&gt;Regarding S08JM60, AN2295 USB bootloader will be developped within next few months, possibly also for ColdFire family.&lt;BR /&gt;&lt;BR /&gt;Regards, Pavel&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Sep 2008 21:32:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/MC9S08JM-USB-HID-with-PE/m-p/184157#M13655</guid>
      <dc:creator>ok2ucx</dc:creator>
      <dc:date>2008-09-10T21:32:58Z</dc:date>
    </item>
  </channel>
</rss>

