summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaveHodder67 <dave.hodder@focusrite.com>2015-07-09 16:08:00 +0100
committerDaveHodder67 <dave.hodder@focusrite.com>2015-07-09 16:08:00 +0100
commit6aee33aba751476da41ce673815abe602788c6e9 (patch)
tree2abf83e6ffa12160f70ec7be48e1f39447bb5f94
parent149279e9197b414df6ff4896dd6773c1536dc761 (diff)
downloadlaunchpad-polymaker-6aee33aba751476da41ce673815abe602788c6e9.tar.gz
launchpad-polymaker-6aee33aba751476da41ce673815abe602788c6e9.zip
added some hardware info
-rw-r--r--README.md6
1 files changed, 5 insertions, 1 deletions
diff --git a/README.md b/README.md
index be24855..b27e6bd 100644
--- a/README.md
+++ b/README.md
@@ -72,7 +72,7 @@ Tip - set the delay between sysex messages to as low a value as possible, so you
72# Bricked it! 72# Bricked it!
73Don't worry - even if you upload toxic nonsense to the device, you cannot brick it - the bootloader is stored in a protected area of flash. If your new firmware doesn't boot, you'll get stuck at step (3) above, or with a crashed unit. Simply repeat the above process with the shipping firmware image (resources/Launchpad Pro-1.0.154.syx) to restore your unit to the factory defaults. Better yet, fix the bugs :) 73Don't worry - even if you upload toxic nonsense to the device, you cannot brick it - the bootloader is stored in a protected area of flash. If your new firmware doesn't boot, you'll get stuck at step (3) above, or with a crashed unit. Simply repeat the above process with the shipping firmware image (resources/Launchpad Pro-1.0.154.syx) to restore your unit to the factory defaults. Better yet, fix the bugs :)
74 74
75# API 75# The API
76The API works in two directions - from the HAL (hardware abstraction layer) to the app, and from the app to the HAL. The HAL calls into your app to: 76The API works in two directions - from the HAL (hardware abstraction layer) to the app, and from the app to the HAL. The HAL calls into your app to:
77 77
78- Receive user events from the pads and buttons 78- Receive user events from the pads and buttons
@@ -103,6 +103,10 @@ To debug the simulator interactively in Eclipse:
1034. Under "C/C++ Application" click Browse... and locate the simulator binary at `/vagrant/build/simulator` 1034. Under "C/C++ Application" click Browse... and locate the simulator binary at `/vagrant/build/simulator`
1045. Hit "Debug"! 1045. Hit "Debug"!
105 105
106# The Hardware
107The Launchpad Pro is based around an ARM Cortex M3 from STMicroelectronics. Specifically, an [STM32F103RBT6](http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1031/LN1565/PF164487). It's clocked at 72MHz, and has 20k RAM (I'm not sure how much of this we're using in the open build yet - should be a fair amount left but I haven't measured it). The low level LED multiplexing and pad/switch scanning consume a fair bit of CPU time in interrupt mode, but have changed a little in the open firmware library (so again, I don't have measurements for how many cycles they're using).
108
109It has 128k of flash memory, but I'm pretty sure we won't be exposing all of it as part of this API (dangerously easy to corrupt things!). Current thinking is to expose a few pages for use by apps, though this would still introduce risks (accidentally wearing out sectors, for example). To be continued...
106 110
107# Vagrant tips 111# Vagrant tips
108When you're done developing, simply type `vagrant suspend` to halt your VM without destroying it - this will make `vagrant up` a lot quicker next time. If you're really finished, `vagrant destroy` will completely remove the VM from your system (but not any of your code). 112When you're done developing, simply type `vagrant suspend` to halt your VM without destroying it - this will make `vagrant up` a lot quicker next time. If you're really finished, `vagrant destroy` will completely remove the VM from your system (but not any of your code).