summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-11-08always blink leds to test msp430 stabilityled_blink_testGuillaume Knispel
2012-11-08improve comment about Timer_AGuillaume Knispel
2012-11-08switch MCLK and SMCLK to 2 MHzGuillaume Knispel
I am hopeful that this will provide a better stability of the MSP430 in case of voltage drops.
2012-11-08enable debug infos in compiler and assembler in release modeGuillaume Knispel
This allows the use of breakpoints.
2012-10-29fix permsGuillaume Knispel
2012-10-29starts with a pull-down on SLP_S3_NGuillaume Knispel
2012-10-08fix typoGuillaume Knispel
2012-10-08update button discussionGuillaume Knispel
2012-10-05Ajout d'un tiret au prenom de Jean-MarcGuillaume Knispel
2012-10-05Merge branch 'master' of alcor:git/firmwareGuillaume Knispel
2012-10-05implement watchdogGuillaume Knispel
2012-10-05symbolize P3SEL init in serial init funcGuillaume Knispel
2012-10-04Ajout d'un tiret au prenom de Jean-MarcRauru
2012-10-02typo fixGuillaume Knispel
2012-09-28do GlobalInit() asapGuillaume Knispel
2012-09-28workaround for errata TA16Guillaume Knispel
2012-09-28workaround for errata BCL12Guillaume Knispel
2012-09-19force off state for 3 secondsGuillaume Knispel
This is in line with what is used for the auto reboots tests and what the EP80579 does itself in some reboot cases.
2012-09-18disable LOOP_REBOOTGuillaume Knispel
2012-09-18add the infinite reboot feature (LOOP_REBOOT), for testsGuillaume Knispel
2012-09-18add script to display firmware states using symbolsGuillaume Knispel
2012-09-18add commentGuillaume Knispel
2012-09-12set the power button override to 4sGuillaume Knispel
2012-09-12don't reboot on a uC controlled power button overrideGuillaume Knispel
2012-09-12set min STOP state duration to 1sGuillaume Knispel
2012-09-12fix the trace codeGuillaume Knispel
2012-09-12ignore some filesGuillaume Knispel
2012-09-12disable ULP advisorGuillaume Knispel
2012-09-11add state change debug tracesGuillaume Knispel
Allow state changes to be traced in a special build-time mode selected by a new define: TRACE_SERIAL. In this mode a trace buffer of 64 bytes is used to record all the affectations to 'state'. When the button 2 is pressed, this buffer is dumped to the MSP430 serial port and then emptied. The implementation uses of the full DLib (IAR specific). To allow that in release mode, this commit also adds (dummy) implementations of remove(), __close(), and __lseek(), which the full DLib requires.
2012-09-10fix permissionsGuillaume Knispel
2012-09-10indentationGuillaume Knispel
2012-08-24allow build of the release version + add serial tx functionsGuillaume Knispel
2012-08-23setup Release IAR conf + activate TI ULPGuillaume Knispel
2012-08-23indentGuillaume Knispel
2012-08-23select UART function on corresponding pinsGuillaume Knispel
2012-08-23indentGuillaume Knispel
2012-08-23add UART init functionGuillaume Knispel
2012-08-23switch to 12MHz SMCLKGuillaume Knispel
2012-08-23typoGuillaume Knispel
2012-08-22some timing and power led adjustmentsGuillaume Knispel
2012-07-26make power sequence work quite wellGuillaume Knispel
Properly reset the EP80579 by driving SYS_RESET_N inside the reset state machine and IMCH_RSMRST_N correctly back in the main state machine.
2012-07-26intermediate and still buggy versionGuillaume Knispel
intermediate version modified by jmo: - modifications made at Asteel Flash - attempt to add handling of the reset button by forwarding the signal (modifications made at the office during a hands on debug session)
2012-07-09better comment about V1P2_CORE_EN_N initial stateplatinium-usine-2012-07Guillaume Knispel
2012-07-09bugfix assertion of V1P2_CORE_EN_NGuillaume Knispel
V1P2_CORE_EN_N was previously incorrectly initialized as high impedance. In 24b3a39 "change V1P2-CORE-EN-N initial state" I changed it to output high, but I missed that the transition from Hz to 0 was done by simply setting it as an output in the code. This commit fixes that bug by changing its output from 1 to 0. The DIR register is never changed so I also removed the Hz to output transition.
2012-07-09remove/add commentsGuillaume Knispel
2012-07-06move SW1State out of TENSION_EXPIREDGuillaume Knispel
TENSION_EXPIRED is not a name that implies that it is also monitoring the power button, and there also are litteral uses of SW1State alone in some states, so it is better to be more explicit and write SW1State || TENSION_EXPIRED where TENSION_EXPIRED was previously used.
2012-07-05multiple cleanupsGuillaume Knispel
Remove main.h (content moved in main.c) Declare InitPorts and GlobalInit as static. Move definition of states inside main.c, because reading the switch body is essential to understand some constraints on their values. Use stdint and stdbool. Lower case U8 and U16 (so they are named like in Linux) and change their definition to use uintX_t. Remove other unused typedefs. Differentiate the platform headers by including them with <>. Our own headers are included with "". Remove some empty lines to increase the coherency of vertical indentation.
2012-07-05make 'state' local to mainGuillaume Knispel
This greatly decrease the binary size.
2012-07-04cosmeticGuillaume Knispel
2012-07-04remove useless variableGuillaume Knispel