Daniel Campora
06d93b36f9
cc3200: Correct safe boot level 1 blinking period.
2015-09-21 22:30:04 +02:00
Daniel Campora
c0c07fb1b6
cc3200: Don't clear the WDT special bit in the bootloader.
2015-08-16 20:18:11 +02:00
Daniel Campora
7da2fdc3cd
cc3200: On the first boot, always make AP ssid='wipy-wlan'.
...
On the first boot don't add the MAC address, this is to speed up
factory testing.
2015-08-09 22:16:45 +02:00
Daniel Campora
2673374d18
cc3200: Refactor PRCM special user bits implementation.
2015-08-09 22:15:18 +02:00
Daniel Campora
31f6a6fa70
cc3200: Enable bootloader safe boot on latest firmware.
...
The first safe boot level executes the latest firmware but skips
'main.py' and 'boot.py'.
2015-08-09 19:22:19 +02:00
Daniel Campora
e955089da0
cc3200: Implement new OTA mechanism with 2 firmware update slots.
2015-07-15 14:25:28 +02:00
Daniel Campora
9220dc466a
cc3200: Correct udelay us to ticks calculation.
2015-07-08 13:13:37 +02:00
Daniel Campora
491c321720
cc3200: Re-config antenna selection when waking from suspended mode.
2015-06-07 13:28:47 +02:00
Daniel Campora
a3acaa000c
cc3200: Add antenna selection feature to WLAN.
2015-06-07 00:06:27 +02:00
Daniel Campora
e800db562f
cc3200: Add uhashlib. Supports SHA1 and SHA256.
2015-05-20 11:44:24 +02:00
Daniel Campora
e282884e54
cc3200: When requesting safe boot, blink the led 3 times, not 4.
2015-04-29 15:27:21 +02:00
Damien George
259eaab9a9
cc3200: Clean up and reduce use/include of std.h.
2015-04-18 14:29:28 +01:00
Daniel Campora
2cd247e819
cc3200: Clean up bootloader makefile and remove superflous assert.
2015-04-17 09:55:24 +02:00
Damien George
a86d40ccd4
cc3200: Get bootloader compiling with latest overhaul of printf code.
2015-04-16 14:30:17 +00:00
danicampora
2c103d5200
cc3200: Rewrite the PRCM RTC functionality methods.
...
This allows to use the On-Chip retention registers for both the
RTC and to share notification flags between the bootloader and the
application. The two flags being shared right now are the "safe boot"
request and the WDT reset cause. we still have 2 more bits free for
future use.
2015-03-14 10:08:47 +01:00
danicampora
9e44383e3f
cc3200: Add power management framework. Add mpcallback class.
...
Supports suspend and hibernate modes. Waking is possible throug GPIO
and WLAN.
The mpcallback class is generic and can be reused by other classes.
2015-03-11 17:00:33 +01:00
danicampora
0475de1350
cc3200: Make WDT and HeartBeat constant objects on their own right.
2015-03-11 16:54:05 +01:00
danicampora
7a074a14ce
cc3200: Implement safe boot pin and system led behaviour.
...
The safe boot pin, when pulled high during reset rolls back the
firmware to the "factory" image and skips execution of 'boot.py'
and 'main.py'. This is useful to recover from a crash condition.
The system led is used mostly to signal errors.
2015-02-25 23:17:17 +01:00
danicampora
11aa6ba456
cc3200: Add WDT functionality as part of the pyb module.
...
Also improve pybsd, and make it save it's pin configuration.
This is a necessary step towards supporting the CC3200 low
power deep sleep (LPDS) mode.
2015-02-25 11:37:29 +01:00
Damien George
3611c1de14
drivers/cc3100: Remove dependence on debug.h.
2015-02-21 22:04:07 +00:00
danicampora
5d2344d009
cc3200: Change safe-boot pin to GPIO28.
2015-02-20 16:40:19 +01:00
danicampora
2b899b6708
cc3200: Remove asserts from sl_Stop() and reduce timeout to 250ms.
2015-02-20 16:40:15 +01:00
danicampora
8785645a95
cc3200: Add cc3200 port of MicroPython.
...
The port currently implements support for GPIO, RTC, ExtInt and the WiFi
subsystem. A small file system is available in the serial flash. A
bootloader which makes OTA updates possible, is also part of this initial
implementation.
2015-02-06 22:10:11 +00:00