MPLAB X IDE simulator docs - mplab

Can some one point me in the direction of any documentation on the simulator built into MPLAB X IDE. Trawled the net and can't find any. There used to be 4 or 5 chapters on the simulator in the older MPLAB IDE doc. The MPLAB X IDE doc "MPLAB_X_IDE_Users_Guide.pdf" does not have any info on the simulator.
Many thanks,
John

I don't know whether they are still relevant to the current version, or are what you are looking for. But there are numerous hits to a search on: mplab simulator. A few are:
http://ww1.microchip.com/downloads/en/devicedoc/51025e.pdf
https://www.puntoflotante.net/EASY-GUIDE-TO-THE-MPLAB-IDE-SIMULATOR.pdf
https://www.microforum.cc/blogs/entry/6-using-the-mplab-x-simulator-to-debug-uart-code/
https://www.microchip.com/stellent/groups/sitecomm_sg/documents/devicedoc/en542701.pdf
https://www.microchip.com/forums/m1015713.aspx
https://microchipdeveloper.com/tls0101:lab2

Thanks for the replies.
Since posting the question I've discovered that the information is available in the MPLAB X IDE help menu, useful but not as good as old fashioned pdfs. I had been looking for the docs in a separate pdf (which is available for the earlier MPLAB IDE) and before installing MPLAB X to see if it was worth installing. In the end I got desparate!

Related

DelphiXE7: Where''s the WinAPI help topics?

Hello I just finally buy the newest Delphi after many years using older version or free pascal. Everything seem to work as expected except when I look the help I can't find winapi or opengl topics like i could in old version.
Do I need to install something special so I can press f1 over for example "messagebox" or "sleep" or "glcolor" or whatever because I install delphi xe7 3 times now but there is only "Install Help" option during install and no other help option I can see.
A while ago I had tried to fix this annoying change from how it was to limited success. What I had done was:
- install the documentation part of "Windows 7 SDK with .net 3.5" (won't work with any later SDK installs since they changed help format)
- install a program from helpware called FAR
- in program FAR, choose H2 UTILS, then select "embarcadero.rs_xe7", then click register
- go to plugins and add WIN7SDKCOM
That was it, with that done both the table of contents and index of delphi help contained the whole windows 7 documentation. HOWEVER! There was a problem, and it was that many (most?) winapi F1 context sensitive help didn't work, it still took me to the standard delphi help page that said to go to MSDN even though if i went to the index i would immediately find the topic.
So, imperfect answer that I'm relaying from memory since I reinstalled that computer and didn't add the win7sdk this time. Hopefully it helps, I know I was happy to have easier offline access to the documentation. Maybe someone can figure out the extra step to make F1 help also work completely.

Brother Label Printer SDK bPac 3.1 Failed to print

I've got the printer driver, P-touch Editor, b-PAC 3.1 and client tools, all 64-bit, downloaded from the Brother website and installed on my 64-bit Windows 7 laptop. The P-touch Editor works/prints fine.
However, b-PAC failed, and none of the samples worked. I debugged the code:
bool b = doc.PrintOut(1, bpac.PrintOptionConstants.bpoDefault);
where b is false. What could be wrong?
I was hitting the same problem, everything appears to work right up to the point where I called "PrintOut", which fails with error 11, "The currently specified printer is not supported".
It turns out the problem I had was with the driver. I had installed the printer driver from the CDROM that came with the label printer. Windows 7 also comes with an "in-box" driver for the printer and in fact this is the one you should install (it's marked with an "LE" at the end).
To fix the problem, all you need to do is go to the "Devices and Printers" dialog, select the printer, right click on it and select "Printer properties", select the "Advanced" tab and click "New Driver". Find the printer in the list that matches yours but with an "LE" at the end and click OK.
Printing is possible with either of the drivers using the P-Touch editor. Odd thing is, "LE" appears to stand for "Light Edition", but the "Heavy" version doesn't work!... strange.
On my Windows 10 x64 machine, I've had a similar issue using Ruby to print through the bPAC SDK (using win32ole). My code worked on another machine, but not mine.
After fighting with this for a long time, I figured out that all was fine and dandy when using the 32 bit version of the bPAC SDK (and Ruby). Don't know exactly what went wrong here, but it might be that the 64bit SDK is just broken.
I had a similar problem, so I added this after the printOut to see which code I was getting.
string sError = doc.ErrorCode
It returned Error 11, which corresponds to "Device is not supported", but the device was a QL-570 which IS supported.
To get it working, I used the following steps:
Side-install the 32bits sdk.
Open your 64bit sample.
Change target configuration platform from "any cpu" to "x86"
Compile
See also: Label printing development using b-pac SDK in a C# application
The important thing is the application that you uses.
If your app is a 32bitapp (inclusive excel) you need the bPAC SDK for 32bit even when they are running on 64-bit Windows OS.
Some printers only support 32-bit b-PAC SDK ver.
(even if you use windows 10 64-bit with Excel 64-bit)
please check:
https://support.brother.com/g/s/es/dev/en/bpac/environment/index.html
I had the same problem (printOut gave me the error code 11).
The error appeared after switching from the printer PT-9800 to PT-P950.
Trying 32 and 64bit did not work for me.
What fixed it was uninstalling the driver of the PT-9800. I found a hint in the b-PAC 3.4 SDK Help in the section Troubleshooting: "if the old label printer will no longer be used, we recommend deleting the printer driver."

Blackberry OS 4.6 and 5.0

What is difference between Blackberry OS 4.6 and 5.0?
Thanks.
Two major differences that I've found are that SQLite does not work on anything below OS5.0 (though it only 75% works on OS5.0 anyway) and that BrowserField2 does not work in anything below OS5.
Really? Try to compile your code using a different JDK and see what happens :)
That's sort of a vague question. From the developers side you can look at the differences between the 4.6 API and the 5.0 API yourself. The major additions I noticed were the accelerometer classes and the ConnectionFactory.
From the user side you can google any number of articles on new features for 5.0. Here are a couple I found: BoyGeniusReports, PCMag.
If you tell us more about your application we might be able to tell you whether you'd likely need to use the 5.0 OS or not.

Will the next release of Delphi be supporting cross-compilation for Mac and Linux?

According to a recent blog post by Allen Bauer:
As we’re working on Fulcrum, the next
RAD Studio release with a focus on
cross-compilation for Mac and Linux,
[..]
I figured someone would mention it in the comments, but I thought Mac/Linux support was a few releases further off. Maybe it's just me, but this is huge news.
Does this mean we will see Mac/Linux binaries created with a Delphi release this year?
While I cannot commit to any kind of time frame or release dates, we are working on Mac and Linux targeting. There is also some work going on for 64bit targeting as well, however that will most likely not be in the same time frame as the Mac/Linux targeted releases.
Fulcrum is the code name for the next release, so yes, the next release will include Mac and Linux support. I don't know about the time frame, but "this year" seems reasonable.
Native 64 bit support will be in a future release.
Personally, I prefer this order.
Embarcadero once said that "the release after the next one will support 64-bit". That was supposed to be Delphi 2010. That didn't happen of course - far from it. Not only did it not appear in the release that was indicated, but it now appears it won't be appearing for at least 2 further releases, and in the meantime, things that were NEVER even mentioned have suddenly appeared and been given priority.
So there really is no reason to believe that Fulcrum will happen either, until it has actually been delivered, no matter who talks about it, at least not in the time frame that is being indicated.
Embarcadero have proven less than reliable when it comes to their "roadmap" which is frankly something of a joke - the "current" one still talks about things that have already been delivered as if they have yet to happen, for instance.
FreePascal
I suppose it's not awful news...
If you look at the last road map, you will see Embarcadero is working on Project called "Delphi X"
(source: embarcadero.com)
and according to what Allen said, it seems it's will be compile to Mac OS & Linux at same time, which is great thing.
If Allen said so, it's pretty safe to assume it's true.
The best answer so far is by Michael Rozlog. It is an over hour interview with the Product Manager of RAD Studio and is worth hearing. It covers:
The Delphi Survey
Delphi application showcase
Updates to the Delphi Roadmap
12 Videos of Christmas (later renamed the 12 Holiday videos)
Compiler rewrite
Project Fulcrum: Delphi on Linux and Mac in Beta
Coming soon to more public beta (hopefully)
Delphi Backwards Compatibility
The upgrade cut off policy
Free or low cost versions of Delphi
And a whole lot more.
http://www.delphifeeds.com/go/f/65775?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed:+delphifeeds+(DelphiFeeds.com)

Where can I download Xcode for Mac OS X 10.4

I'm running Mac OS X v 10.4.11 and I want to install Xcode to compile and run ruby on rails. When I go to apple site I must download latest version of Xcode which does not run on my version of OS X. Where can I download a version of XCode that i can install in my environment. Can anyone provide me with a link?
You have to register on their developer site.
http://adcdownload.apple.com/Developer_Tools/xcode_2.5_developer_tools/xcode25_8m2558_developerdvd.dmg
[New Link as of 01/21/2012:]
https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_2.5_developer_tools/xcode25_8m2558_developerdvd.dmg
step 1: make a free account here:
connect.apple.com
step 2: go to this link and download:
http://adcdownload.apple.com/Developer_Tools/xcode_2.5_developer_tools/xcode25_8m2558_developerdvd.dmg
image size is 900 Megabytes+
so enjoy :)
For those that may want to download Xcode for MacOS X 10.4 (Tiger), you may opt for a "side-channel" solution of downloading the disk image from other sites (e.g., like via torrent sites), since it is quite likely that Apple breaks any of the URLs given above at any point in time and/or puts it so buried down their site that it is virtually "unfindable".
In this case, the following data may become handy to ease the pain of future searchers:
name: xcode25_8m2558_developerdvd.dmg
size: 946768492 bytes
SHA1 sum: 30884704b0a4b098f02ccbb753958cd5331b8982
MD5 sum: 3bd6c24d8fbbdf9007e15861d173764d
As I am trying to breathe new life to an iBook G3 with Tiger (that works perfectly fine, also with Debian installed), I will use a version of Homebrew called Tigerbrew, which, of course, depends on Xcode being installed.
XCode is distributed with MacOs, somewhere in additional tools folder or something like that on installer dvd.
Xcode 2.5 is the newest version for mac OSX 10.4 (Tiger)
Here's the new link (tested today), the old one is broken:
http://developer.apple.com/mac/scripts/downloader.php?path=/Developer_Tools/xcode_2.5_developer_tools/xcode25_8m2558_developerdvd.dmg
If you don't have installation disks, I can upload from mine, but not until tomorow :(. Meanwhile, i recommend You to try NetBeans (whether Ruby, or full version) http://www.netbeans.org/downloads/index.html. I was developing ruby on rails application for my company a year ago, and NetBeans proved to be the best solution for me.
That url works as for 10-2010: http://adcdownload.apple.com/Developer_Tools/xcode_2.5_developer_tools/xcode25_8m2558_developerdvd.dmg

Resources