Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support MSP-EXP430F5438 board and Improvment in Timer/Watchdog/Ports/Flash #29

Open
wants to merge 33 commits into
base: master
Choose a base branch
from

Conversation

roy77
Copy link

@roy77 roy77 commented Nov 22, 2013

I have deleted my old fork generate a new mspsim fork and add my changes without code reformating. Now it is easier for you to analyze my changes.

roy77 and others added 30 commits November 20, 2013 22:55
Read/Write to file

Only active when filename is set

Use cpu.setFlashFile to set a filename
Node for MSP-EXP430F5438 board
Watchdog Interval Timer call setBitIFG but interrupt is not flagged.
Workaround this by calling cpu.flagInterrupt(58, this, true);
Two variables (selValue,selValue2) are defined. This values represent
the inputs which are switched to output via PxSEL,PXSEL2. This values
must be set by timer, ccu, ad-convert,... via writePortSel

Disable set in to 0 after reset. Because this are inputs and the
physical connection to other components is not affected by the reset.
Timer:
- correct calculation of next event when not running to 65535
- PxSEL/PxSEL2 support
- correct events in all modes (UP,UP/DOWN)

Watchdog:
- Support Watchdog of F5438 
     3Bit WDTISx (switch Watchdog type via version variable)
- update delay on register changes
Only info mem is read/written to file because firmware is overridden
when flash is written after reading firmware.

Small improvements in file handling
A reset have to clear the registers.
- Component View for current Register values of Port, Timer,...
- View current line in source code
- Add/Remove breakpoints in source code window
Correct SFR offset
Correct watchdog vector
improve timer
AbstractNodeGUI stays on top
replace arrays with lists
exit on kill
but x not implemented therefore now 0 is returned
Intercept errors in display communication
- detected changed parameter during run
Improved Display HD66753
- using cycle diff of timer for exact PWM calcualtion 
Improved GUI
- scalable
Change Watchdog delay value from int to long
Improved display timing
Solved bug in timer up/down mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants