<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openpcd/firmware/src/dfu, branch master</title>
<subtitle>Firmware for the OpenPCD, OpenPICC and SIMtrace hardware</subtitle>
<id>https://git.gnumonks.org/cgit/openpcd/atom?h=master</id>
<link rel='self' href='https://git.gnumonks.org/cgit/openpcd/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.gnumonks.org/cgit/openpcd/'/>
<updated>2015-09-28T15:02:22+00:00</updated>
<entry>
<title>convert from u_int*_t to uint*_t</title>
<updated>2015-09-28T15:02:22+00:00</updated>
<author>
<name>Harald Welte</name>
<email>laforge@gnumonks.org</email>
</author>
<published>2015-09-28T15:00:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.gnumonks.org/cgit/openpcd/commit/?id=21391e0bdbe676ab766204eaa0eddd46e529c849'/>
<id>urn:sha1:21391e0bdbe676ab766204eaa0eddd46e529c849</id>
<content type='text'>
</content>
</entry>
<entry>
<title>usb: Do not send ZLP when we have filled the window</title>
<updated>2011-12-14T14:16:54+00:00</updated>
<author>
<name>Holger Hans Peter Freyther</name>
<email>zecke@selfish.org</email>
</author>
<published>2011-11-09T22:22:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.gnumonks.org/cgit/openpcd/commit/?id=ebf16b4ddf0dcbadf96aebdec3304f703917fdc7'/>
<id>urn:sha1:ebf16b4ddf0dcbadf96aebdec3304f703917fdc7</id>
<content type='text'>
Only send the ZLP if we send less data than was required/asked for
by the host and it is a multiple of the bMaxPacketSize0 (which is
hardcoded to 8 right now).

This is completing the change done in fe88b83e80df8be0351ff38ee6 to
fix SIMtrace attached to OSX and not regress on windows.

Introduce another parameter to udp_ep0_send_data to specify the window
size (wLength) or if not available the default from USB 2.0 specification.
</content>
</entry>
<entry>
<title>dfu: Remove unused variable, mark method as not retuning</title>
<updated>2011-11-10T06:33:56+00:00</updated>
<author>
<name>Holger Hans Peter Freyther</name>
<email>zecke@selfish.org</email>
</author>
<published>2011-11-09T22:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.gnumonks.org/cgit/openpcd/commit/?id=ebc2088382df3148a3b61f7108aa6ffccd7396be'/>
<id>urn:sha1:ebc2088382df3148a3b61f7108aa6ffccd7396be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dfu: Use {} for possible empty if statement (in case debug is off)</title>
<updated>2011-11-10T06:33:55+00:00</updated>
<author>
<name>Holger Hans Peter Freyther</name>
<email>zecke@selfish.org</email>
</author>
<published>2011-11-09T22:24:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.gnumonks.org/cgit/openpcd/commit/?id=7db9f66c8b902f7c6417f06145d286bdd4ea83fe'/>
<id>urn:sha1:7db9f66c8b902f7c6417f06145d286bdd4ea83fe</id>
<content type='text'>
src/dfu/dfu.c:853:23: warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
</content>
</entry>
<entry>
<title>dfu: Mark unsued variables as __unused for now</title>
<updated>2011-11-10T06:33:55+00:00</updated>
<author>
<name>Holger Hans Peter Freyther</name>
<email>zecke@selfish.org</email>
</author>
<published>2011-11-09T22:24:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.gnumonks.org/cgit/openpcd/commit/?id=1532eb49f4b85fbeb96db74689d99b968788952b'/>
<id>urn:sha1:1532eb49f4b85fbeb96db74689d99b968788952b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dfu: udp_ep0_recv_clean is static and is not called anywhere</title>
<updated>2011-11-10T06:33:53+00:00</updated>
<author>
<name>Holger Hans Peter Freyther</name>
<email>zecke@selfish.org</email>
</author>
<published>2011-11-09T22:24:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.gnumonks.org/cgit/openpcd/commit/?id=c6f26629d28f07b8f0a8482924ff049f4ec7506d'/>
<id>urn:sha1:c6f26629d28f07b8f0a8482924ff049f4ec7506d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>dfu: The i variable to disable interrupts shadows the outer index</title>
<updated>2011-11-10T06:33:53+00:00</updated>
<author>
<name>Holger Hans Peter Freyther</name>
<email>zecke@selfish.org</email>
</author>
<published>2011-11-09T22:24:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.gnumonks.org/cgit/openpcd/commit/?id=7ab4135217dc431134a988122528ecbaf344c574'/>
<id>urn:sha1:7ab4135217dc431134a988122528ecbaf344c574</id>
<content type='text'>
In case ram_app_entry() returns do not reset i to 32, otherwise we
will never reset the watchdog.

src/dfu/dfu.c:1077:7: warning: declaration of ‘i’ shadows a previous local [-Wshadow]
src/dfu/dfu.c:1068:6: warning: shadowed declaration is here [-Wshadow]
</content>
</entry>
<entry>
<title>DFU: Fix execution of software that was loaded to RAM via DFU</title>
<updated>2011-07-30T16:53:43+00:00</updated>
<author>
<name>Harald Welte</name>
<email>laforge@gnumonks.org</email>
</author>
<published>2011-07-30T16:53:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.gnumonks.org/cgit/openpcd/commit/?id=1acaecb4cb1de370a4fee692baaf6b41b8d8ec8c'/>
<id>urn:sha1:1acaecb4cb1de370a4fee692baaf6b41b8d8ec8c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DFU: Support re-flashing of DFU via DFU</title>
<updated>2011-07-30T00:56:36+00:00</updated>
<author>
<name>Harald Welte</name>
<email>laforge@gnumonks.org</email>
</author>
<published>2011-07-30T00:56:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.gnumonks.org/cgit/openpcd/commit/?id=58d958e60c429bd7a2b2d114a4f7a86a65bdacef'/>
<id>urn:sha1:58d958e60c429bd7a2b2d114a4f7a86a65bdacef</id>
<content type='text'>
As we re-locate the entire sam7dfu program into RAM, we don't need
to execute from flash and can thus re-program the DFU partition
via the DFU protocol itself (alternate setting '1').

We also implement downloading executable code into RAM using
alternate setting '2'.  The latter part is not properly executed yet.
</content>
</entry>
<entry>
<title>DFU: add third 'alternate configuration' for RAM load</title>
<updated>2011-07-30T00:08:36+00:00</updated>
<author>
<name>Harald Welte</name>
<email>laforge@gnumonks.org</email>
</author>
<published>2011-07-30T00:08:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.gnumonks.org/cgit/openpcd/commit/?id=e3d1fd9bbdb789196c25bdd5eb7536cda5ba39f3'/>
<id>urn:sha1:e3d1fd9bbdb789196c25bdd5eb7536cda5ba39f3</id>
<content type='text'>
This will allow us to load code directly into RAM without going through
flash.
</content>
</entry>
</feed>
