mariuszp wrote:Any idea if it's possible on HP Probook laptop? It's the only hardware I have available at the moment.
How (in)feasible would it be to find other hardware to test with, and what limitations do you have on space to set something up? I would normally recommend seeing if you could find an inexpensive used desktop PC off of Ebay or Craigslist or something similar, or at some computer hardware recycler if there are any where you are, but I have no idea if this would even be possible for you.
Or, if you don't mind putting a bit more research and elbow grease into it, you could build one from new or used components. This would probably be a bit more expensive, even with used parts, but in the US at least, a picked build with used parts could potentially be under US$100 if you already have a suitable monitor (I gather you don't, though), or
around US$500 for new hardware including an inexpensive monitor (for something like this, a tool such as the
PC Parts Picker website is quite helpful).
However, I don't know where you are (your profile doesn't list a location, and you may well have a reason not to put one - I don't know what your circumstances are), so all I can give advice about is how things are in the US. I also don't know your living situation - if a desktop is out of the question, this advice probably won't help much - or what, if any, money you could spend on something like that.
If you have some money and the ability to order parts, but lack space, a
NUC may be an option. They range from moderately pricey to quite pricey indeed (anywhere from around US$300 to close to US$900), and are a bit underpowered compared to a desktop or even most laptops, but they are for the most part full PCs.
Another possibility an x86-based SBC such as a LattePanda or an UDOO x86, which have comparable computing power to a NUC but cost a bit less. However, those are still fairly expensive compared to most other SBCs (the
LattePanda's official e-store lists the boards (without a Windows 10 key) ranging from US$90 for an older 2GiB model, to US$360 for the Alpha 864 model, while the UDOO website lists
the existing x86 models as US$175 and US$267, and the upcoming Ryzen model as US$230). Also, while they have the same CPU instruction set, their hardware is significantly different from a stock PC in other ways. Further, you'd need to buy a raft of additional components such as a case, an AC adapter and video cables, the heat sink and fan in some cases, an inexpensive keyboard, etc., though you should be able to use an HDMI-ready TV for the video - or else run it headless, using the laptop to connect via an SSH client.
But getting to the NMI pin should be a breeze with an SBC. What's more, both the LattePandas and the UDOOs have built-in headers for connecting a
JTAG breakout unit, which may prove more useful than the NMI break approach. While JTAG adapters are primarily meant for debugging hardware, it is my understanding that the more powerful ones can be used for pausing the CPU and dumping or inspecting the system memory, making them useful for debugging system software. Can anyone else add anything about this?
And for completeness ' sake: a non-x86 SBC might be less expensive, but at that point, you are dealing with an entirely different CPU type - usually an ARM of some variety, though MIPS and even RISC-V boards do exist (though the one full-fledged RISC-V SBC on the market now, the HiFive Unleashed, is US$1000, which I am guessing isn't going to be in you budget any more than it is in my own; much less expensive ones are available, such as the HiFive One and the LoFive, but they use much less powerful microcontroller CPUs). You alsdo would still need all the accessories as with the previous two. Obviously, the original question wouldn't apply to these (as the debugging method for those usually involves a JTAG breakout module), but if you decide to try something other than a PC, those are an option.
Come to think of it, it is possible that your laptop has a JTAG header hidden somewhere on the motherboard, but I have no idea if it does or not - probably not, but maybe. Which model of ProBook do you have?